Skip to content

Commit

Permalink
terraform: export full packages with plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Jan 10, 2018
1 parent aa2d7ee commit 53d688a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion pkgs/applications/networking/cluster/terraform/default.nix
Expand Up @@ -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";
Expand All @@ -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;
}
7 changes: 3 additions & 4 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 {};

Expand Down

0 comments on commit 53d688a

Please sign in to comment.