terraform: export full packages with plugins

This commit is contained in:
zimbatm 2018-01-10 09:47:52 +00:00
parent aa2d7eeb23
commit 53d688a3bf
2 changed files with 8 additions and 5 deletions

View file

@ -72,7 +72,7 @@ let
in withPlugins (_: []);
plugins = import ./providers { inherit stdenv lib buildGoPackage fetchFromGitHub; };
in {
in rec {
terraform_0_8_5 = generic {
version = "0.8.5";
sha256 = "1cxwv3652fpsbm2zk1akw356cd7w7vhny1623ighgbz9ha8gvg09";
@ -97,10 +97,14 @@ in {
passthru = { inherit plugins; };
});
terraform_0_10-full = terraform_0_10.withPlugins lib.attrValues;
terraform_0_11 = pluggable (generic {
version = "0.11.1";
sha256 = "04qyhlif3b3kjs3m6c3mx45sgr5r13x55aic638zzlrhbpmqiih1";
patches = [ ./provider-path.patch ];
passthru = { inherit plugins; };
});
terraform_0_11-full = terraform_0_11.withPlugins lib.attrValues;
}

View file

@ -19830,14 +19830,13 @@ with pkgs;
terraform_0_8
terraform_0_9
terraform_0_10
terraform_0_10-full
terraform_0_11
terraform_0_11-full
;
# Terraform with all the plugins, both to get Hydra to build all plugins for us and for
# convenience if someone doesn't want to have to think about which plugins to use.
terraform_0_10-full = terraform_0_10.withPlugins lib.attrValues;
terraform = terraform_0_11;
terraform-full = terraform_0_11-full;
terraform-inventory = callPackage ../applications/networking/cluster/terraform-inventory {};