diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-26 16:45:51 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-26 21:35:06 +1000 |
commit | 13ea123c74cdcb33cdc376b16677044512615afa (patch) | |
tree | 927c311167547c8b17d63406095806f21533cf68 /pkgs/applications/misc/dstask | |
parent | eada59b86b4925db45e705a6058eaca92485e939 (diff) |
treewide: buildFlagsArray -> ldflags
Diffstat (limited to 'pkgs/applications/misc/dstask')
-rw-r--r-- | pkgs/applications/misc/dstask/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/misc/dstask/default.nix b/pkgs/applications/misc/dstask/default.nix index c17ed9b3af5ea..4e03059a8cc4a 100644 --- a/pkgs/applications/misc/dstask/default.nix +++ b/pkgs/applications/misc/dstask/default.nix @@ -24,11 +24,11 @@ buildGoModule rec { # The other variables are set so that the output of dstask version shows the # git ref and the release version from github. # Ref <https://github.com/NixOS/nixpkgs/pull/87383#discussion_r432097657> - buildFlagsArray = [ '' - -ldflags=-w -s - -X "github.com/naggie/dstask.VERSION=${version}" - -X "github.com/naggie/dstask.GIT_COMMIT=v${version}" - '' ]; + ldflags = [ + "-w" "-s" + "-X github.com/naggie/dstask.VERSION=${version}" + "-X github.com/naggie/dstask.GIT_COMMIT=v${version}" + ]; subPackages = [ "cmd/dstask.go" ]; |