terraform_0_10_0: tune build

This commit is contained in:
zimbatm 2017-08-04 11:50:44 +01:00
parent dc50dcf9c8
commit e0a848fb16

View File

@ -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"
)
'';
};
}