diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-12-09 20:10:21 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 11:10:21 +0100 |
commit | c0c46ba593d491fc848b65c36910630ff436a7c6 (patch) | |
tree | 4611cd385449f4da24fde5c20108ee48579f77e1 /pkgs/applications/networking/cluster/terraform | |
parent | 437668da0003fa72bfbaae0a3da10073ed58fc1e (diff) |
terraform: set ldflags (#149767)
these are set the same in every version we package https://github.com/hashicorp/terraform/blob/v0.12.0/scripts/build.sh#L47
Diffstat (limited to 'pkgs/applications/networking/cluster/terraform')
-rw-r--r-- | pkgs/applications/networking/cluster/terraform/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 036ee7d8243f0..0d2ebc6bdba40 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -27,6 +27,8 @@ let inherit sha256; }; + ldflags = [ "-s" "-w" ]; + postConfigure = '' # speakeasy hardcodes /bin/stty https://github.com/bgentry/speakeasy/issues/22 substituteInPlace vendor/github.com/bgentry/speakeasy/speakeasy_unix.go \ |