about summary refs log tree commit diff
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-07-31 23:44:19 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-08-06 10:54:38 +1000
commit12c92f44292f2b474ed4f98320c910d6ac55f1b9 (patch)
treebd7e9d9028994e03a9c162fd15f3eef29bb72d41
parenta0f4711da401273579c44458cedbdc6d0eb0f68b (diff)
vgrep: buildFlagsArray -> ldflags
-rw-r--r--pkgs/tools/text/vgrep/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/vgrep/default.nix b/pkgs/tools/text/vgrep/default.nix
index edd0416b0ef9f..1eea8b7f67b3d 100644
--- a/pkgs/tools/text/vgrep/default.nix
+++ b/pkgs/tools/text/vgrep/default.nix
@@ -13,7 +13,7 @@ buildGoModule rec {
 
   vendorSha256 = null;
 
-  buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
+  ldflags = [ "-s" "-w" "-X main.version=${version}" ];
 
   nativeBuildInputs = [ go-md2man installShellFiles ];