mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
kiterunner: buildFlagsArray -> ldflags
This commit is contained in:
parent
26ee35867b
commit
bf13a63bda
1 changed files with 3 additions and 3 deletions
|
@ -16,9 +16,9 @@ buildGoModule rec {
|
|||
|
||||
vendorSha256 = "1nczzzsnh38qi949ki5268y39ggkwncanc1pv7727qpwllzl62vy";
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-s -w -X github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Version=${version}")
|
||||
'';
|
||||
ldflags = [
|
||||
"-s" "-w" "-X github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Version=${version}"
|
||||
];
|
||||
|
||||
subPackages = [ "./cmd/kiterunner" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue