Skip to content

Commit

Permalink
terraform: add the version component to terraform provider paths (#34497
Browse files Browse the repository at this point in the history
)

Terraform checks the provider versions, but this breaks if the versions
are not provided, as they can be, if the plugins are provided by nix.
  • Loading branch information
siers authored and zimbatm committed Feb 6, 2018
1 parent edeacd0 commit 4e63119
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -11,6 +11,10 @@ let
inherit owner repo sha256;
rev = "v${version}";
};

# Terraform allow checking the provider versions, but this breaks
# if the versions are not provided via file paths.
postBuild = "mv go/bin/${repo}{,_v${version}}";
};

maybeDrv = name: data:
Expand Down

0 comments on commit 4e63119

Please sign in to comment.