From dd46a9b4d5e4aa4e0f126ab8bb5bf03cc57460a6 Mon Sep 17 00:00:00 2001 From: Terje Larsen Date: Thu, 7 Dec 2023 11:31:01 +0000 Subject: opentofu: fix version output --- pkgs/applications/networking/cluster/opentofu/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs') 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 -- cgit 1.4.1