From e0a848fb16244109f700f28bfb1b32c13be3d465 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Fri, 4 Aug 2017 11:50:44 +0100 Subject: [PATCH] terraform_0_10_0: tune build --- pkgs/applications/networking/cluster/terraform/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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" + ) + ''; }; }