about summary refs log tree commit diff
path: root/pkgs/tools/admin/aws-vault
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/tools/admin/aws-vault
parenteada59b86b4925db45e705a6058eaca92485e939 (diff)
treewide: buildFlagsArray -> ldflags
Diffstat (limited to 'pkgs/tools/admin/aws-vault')
-rw-r--r--pkgs/tools/admin/aws-vault/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/tools/admin/aws-vault/default.nix b/pkgs/tools/admin/aws-vault/default.nix
index c171601528176..afc493c3b6a1b 100644
--- a/pkgs/tools/admin/aws-vault/default.nix
+++ b/pkgs/tools/admin/aws-vault/default.nix
@@ -34,10 +34,9 @@ buildGoModule rec {
   subPackages = [ "." ];
 
   # set the version. see: aws-vault's Makefile
-  buildFlagsArray = ''
-    -ldflags=
-    -X main.Version=v${version}
-  '';
+  ldflags = [
+    "-X main.Version=v${version}"
+  ];
 
   doInstallCheck = true;