cashapp / cashapp/hermit

Overriding `binaries` in a platform block doesn't seem to work

Open
#249 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
926
Forks
111
Avg merge
7m
Merged PRs (30d)
1

Description

For podman I tried:

```hcl
binaries = ["podman"]

platform "darwin" {
source = "https://github.com/containers/podman/releases/download/v${version}/podman-remote-release-darwin_${arch}.zip"
strip = 1
binaries = ["usr/bin/podman"]
}
```

And it attempted to use the top level `binaries` attribute.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the shown Hermit configuration, then trace how the top-level and platform-level `binaries` attributes are parsed and selected. Done means the `darwin` platform uses `usr/bin/podman` rather than the top-level `podman` value.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.