about summary refs log tree commit diff
path: root/pkgs/applications/networking/shellhub-agent
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-08-26 16:45:51 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-08-26 21:35:06 +1000
commit13ea123c74cdcb33cdc376b16677044512615afa (patch)
tree927c311167547c8b17d63406095806f21533cf68 /pkgs/applications/networking/shellhub-agent
parenteada59b86b4925db45e705a6058eaca92485e939 (diff)
treewide: buildFlagsArray -> ldflags
Diffstat (limited to 'pkgs/applications/networking/shellhub-agent')
-rw-r--r--pkgs/applications/networking/shellhub-agent/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/shellhub-agent/default.nix b/pkgs/applications/networking/shellhub-agent/default.nix
index aa5175fca9ed0..ae2dee21fb26a 100644
--- a/pkgs/applications/networking/shellhub-agent/default.nix
+++ b/pkgs/applications/networking/shellhub-agent/default.nix
@@ -22,7 +22,7 @@ buildGoModule rec {
 
   vendorSha256 = "18z3vwcwkyj6hcvl35qmj034237h9l18dvcbx1hxry7qdwv807c9";
 
-  buildFlagsArray = [ "-ldflags=-s -w -X main.AgentVersion=v${version}" ];
+  ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];
 
   passthru = {
     updateScript = genericUpdater {