mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
apx: add version to build flags
This commit is contained in:
parent
301779587a
commit
1c276021b5
@ -23,7 +23,7 @@ buildGoModule rec {
|
||||
# podman needed for apx to not error when building shell completions
|
||||
nativeBuildInputs = [ installShellFiles podman ];
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
ldflags = [ "-s" "-w" "-X 'main.Version=v${version}'" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace config/apx.json \
|
||||
|
Loading…
Reference in New Issue
Block a user