about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTerje Larsen <terlar@gmail.com>2023-12-07 11:31:01 +0000
committerTerje Larsen <terlar@gmail.com>2023-12-07 11:31:01 +0000
commitdd46a9b4d5e4aa4e0f126ab8bb5bf03cc57460a6 (patch)
tree66e4923f96be984f79cf8711b48929b8dd4a5359 /pkgs
parent68517cc894784a341dec5cc1034467ca124dc604 (diff)
opentofu: fix version output
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/cluster/opentofu/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/opentofu/default.nix b/pkgs/applications/networking/cluster/opentofu/default.nix
index ab960b7526ee4..3bfd32c8aad51 100644
--- a/pkgs/applications/networking/cluster/opentofu/default.nix
+++ b/pkgs/applications/networking/cluster/opentofu/default.nix
@@ -23,7 +23,7 @@ let
       hash = "sha256-bOZzMraJ1Bc5CauYkJLH4riCOhAbZlXh9TdBjJsp4Ds=";
     };
     vendorHash = "sha256-T67VFtAsw6Dn+Ma0znwaa53GvzmrNLFoU17rCeJehKw=";
-    ldflags = [ "-s" "-w" ];
+    ldflags = [ "-s" "-w" "-X" "github.com/opentofu/opentofu/version.dev=no" ];
 
     postConfigure = ''
       # speakeasy hardcodes /bin/stty https://github.com/bgentry/speakeasy/issues/22