summary refs log tree commit diff
path: root/pkgs/servers/hasura
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/servers/hasura
parenteada59b86b4925db45e705a6058eaca92485e939 (diff)
treewide: buildFlagsArray -> ldflags
Diffstat (limited to 'pkgs/servers/hasura')
-rw-r--r--pkgs/servers/hasura/cli.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/servers/hasura/cli.nix b/pkgs/servers/hasura/cli.nix
index 4338f1bcaed87..a65d4bb382349 100644
--- a/pkgs/servers/hasura/cli.nix
+++ b/pkgs/servers/hasura/cli.nix
@@ -13,11 +13,11 @@ buildGoModule rec {
 
   doCheck = false;
 
-  buildFlagsArray = [''-ldflags=
-    -X github.com/hasura/graphql-engine/cli/version.BuildVersion=${version}
-    -s
-    -w
-  ''];
+  ldflags = [
+    "-X github.com/hasura/graphql-engine/cli/version.BuildVersion=${version}"
+    "-s"
+    "-w"
+  ];
 
   postInstall = ''
     mkdir -p $out/share/{bash-completion/completions,zsh/site-functions}