summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/terraform
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2017-08-04 11:50:44 +0100
committerzimbatm <zimbatm@zimbatm.com>2017-08-04 11:50:44 +0100
commite0a848fb16244109f700f28bfb1b32c13be3d465 (patch)
tree6a04b90f1fb7b6e5c8ec377957082b97c7c1d869 /pkgs/applications/networking/cluster/terraform
parentdc50dcf9c8ca3ee929c82166b1828bd6e4cc8d30 (diff)
downloadnixlib-e0a848fb16244109f700f28bfb1b32c13be3d465.tar
nixlib-e0a848fb16244109f700f28bfb1b32c13be3d465.tar.gz
nixlib-e0a848fb16244109f700f28bfb1b32c13be3d465.tar.bz2
nixlib-e0a848fb16244109f700f28bfb1b32c13be3d465.tar.lz
nixlib-e0a848fb16244109f700f28bfb1b32c13be3d465.tar.xz
nixlib-e0a848fb16244109f700f28bfb1b32c13be3d465.tar.zst
nixlib-e0a848fb16244109f700f28bfb1b32c13be3d465.zip
terraform_0_10_0: tune build
Diffstat (limited to 'pkgs/applications/networking/cluster/terraform')
-rw-r--r--pkgs/applications/networking/cluster/terraform/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix
index 0e3ceef9348e..a04cbed96101 100644
--- a/pkgs/applications/networking/cluster/terraform/default.nix
+++ b/pkgs/applications/networking/cluster/terraform/default.nix
@@ -58,5 +58,12 @@ in {
   terraform_0_10_0 = generic {
     version = "0.10.0";
     sha256 = "1z6pmyfh4z5w8k2j46ancc0m9lsiq6d0m56nxj1kawb3n5q9dgds";
+    # remove debugging and the -dev postfix in the version
+    preBuild = ''
+      buildFlagsArray=(
+        -ldflags
+        "-X github.com/hashicorp/terraform/terraform.VersionPrerelease= -s -w"
+      )
+    '';
   };
 }