Skip to content

Commit

Permalink
terraform_0_10_0: tune build
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Aug 4, 2017
1 parent dc50dcf commit e0a848f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/applications/networking/cluster/terraform/default.nix
Expand Up @@ -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"
)
'';
};
}

1 comment on commit e0a848f

@copumpkin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks 😄

Please sign in to comment.