From 9e2ece568106b2e5222f1bc8b7ca83503bbf5bec Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Thu, 15 Feb 2024 01:17:42 -0800 Subject: [PATCH] terraform: remove "-dev" suffix from `-version` output (#288878) --- pkgs/applications/networking/cluster/terraform/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 559cb30b3155..f143d2c3fca5 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