diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-23 14:55:51 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-08-26 21:35:06 +1000 |
commit | 3360a376cb905ac40e77d5424089d4893e9cd157 (patch) | |
tree | 2cc54b7d8ada53858c06632f888ce3e8e2d524ae /pkgs/applications/networking/cluster/popeye | |
parent | 13ea123c74cdcb33cdc376b16677044512615afa (diff) |
buildGoModule: warn if buildFlagsArray is used
Diffstat (limited to 'pkgs/applications/networking/cluster/popeye')
-rw-r--r-- | pkgs/applications/networking/cluster/popeye/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/cluster/popeye/default.nix b/pkgs/applications/networking/cluster/popeye/default.nix index 1a7c56bd18b4d..910317bd9673c 100644 --- a/pkgs/applications/networking/cluster/popeye/default.nix +++ b/pkgs/applications/networking/cluster/popeye/default.nix @@ -11,11 +11,11 @@ buildGoModule rec { sha256 = "sha256-oft1zLLd5TP8S9GMjp5kYaoPoOYnbhJwL2wBerkhp+c="; }; - ldflags = '' + ldflags = [ "-s" "-w" "-X github.com/derailed/popeye/cmd.version=${version}" "-X github.com/derailed/popeye/cmd.commit=${version}" - ''; + ]; vendorSha256 = "sha256-vUUDLMicop5QzZmAHi5qrc0hx8oV2xWNFHvCWioLhl8="; |