mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
ticker: buildFlagsArray -> ldflags
This commit is contained in:
parent
a1cdf552dc
commit
950b52dec0
|
@ -16,9 +16,9 @@ buildGoModule rec {
|
|||
|
||||
vendorSha256 = "sha256-XBfTVd3X3IDxLCAaNnijf6E5bw+AZ94UdOG9w7BOdBU=";
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-s -w -X github.com/achannarasappa/ticker/cmd.Version=v${version}")
|
||||
'';
|
||||
ldflags = [
|
||||
"-s" "-w" "-X github.com/achannarasappa/ticker/cmd.Version=v${version}"
|
||||
];
|
||||
|
||||
# Tests require internet
|
||||
doCheck = false;
|
||||
|
|
Loading…
Reference in a new issue