about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/terraform
diff options
context:
space:
mode:
authorNick Novitski <github@nicknovitski.com>2024-02-15 01:17:42 -0800
committerGitHub <noreply@github.com>2024-02-15 10:17:42 +0100
commit9e2ece568106b2e5222f1bc8b7ca83503bbf5bec (patch)
tree9c00ddb828b4c42568ccd7a2f820f2dd1bc28ffc /pkgs/applications/networking/cluster/terraform
parent35b2ccc34fabbdace5a27b73b9e6f22814e949c2 (diff)
terraform: remove "-dev" suffix from `-version` output (#288878)
Diffstat (limited to 'pkgs/applications/networking/cluster/terraform')
-rw-r--r--pkgs/applications/networking/cluster/terraform/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix
index 559cb30b3155e..f143d2c3fca5c 100644
--- a/pkgs/applications/networking/cluster/terraform/default.nix
+++ b/pkgs/applications/networking/cluster/terraform/default.nix
@@ -26,7 +26,7 @@ let
         inherit hash;
       };
 
-      ldflags = [ "-s" "-w" ];
+      ldflags = [ "-s" "-w" "-X 'github.com/hashicorp/terraform/version.dev=no'" ];
 
       postConfigure = ''
         # speakeasy hardcodes /bin/stty https://github.com/bgentry/speakeasy/issues/22