3
0
Fork 0
forked from mirrors/nixpkgs

kiterunner: buildFlagsArray -> ldflags

This commit is contained in:
zowoq 2021-08-21 18:23:51 +10:00
parent 26ee35867b
commit bf13a63bda

View file

@ -16,9 +16,9 @@ buildGoModule rec {
vendorSha256 = "1nczzzsnh38qi949ki5268y39ggkwncanc1pv7727qpwllzl62vy"; vendorSha256 = "1nczzzsnh38qi949ki5268y39ggkwncanc1pv7727qpwllzl62vy";
preBuild = '' ldflags = [
buildFlagsArray+=("-ldflags" "-s -w -X github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Version=${version}") "-s" "-w" "-X github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Version=${version}"
''; ];
subPackages = [ "./cmd/kiterunner" ]; subPackages = [ "./cmd/kiterunner" ];