summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/terraform/providers/default.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-02-07 03:41:24 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-02-07 03:41:24 +0200
commit4c6c919a3141b14c3e90607f171e534a82eceeb0 (patch)
tree9ea646e0f14fa84fa38a545a4edc33926208db96 /pkgs/applications/networking/cluster/terraform/providers/default.nix
parent335ae386741f74c63cf3bf4b7022a1e5e5f26066 (diff)
parentfc1224d55dfdde0a3e43635fc9465cdff0bb80a3 (diff)
downloadnixlib-4c6c919a3141b14c3e90607f171e534a82eceeb0.tar
nixlib-4c6c919a3141b14c3e90607f171e534a82eceeb0.tar.gz
nixlib-4c6c919a3141b14c3e90607f171e534a82eceeb0.tar.bz2
nixlib-4c6c919a3141b14c3e90607f171e534a82eceeb0.tar.lz
nixlib-4c6c919a3141b14c3e90607f171e534a82eceeb0.tar.xz
nixlib-4c6c919a3141b14c3e90607f171e534a82eceeb0.tar.zst
nixlib-4c6c919a3141b14c3e90607f171e534a82eceeb0.zip
Merge remote-tracking branch 'upstream/master' into HEAD
Conflicts:
	pkgs/os-specific/linux/kernel/generic.nix
Diffstat (limited to 'pkgs/applications/networking/cluster/terraform/providers/default.nix')
-rw-r--r--pkgs/applications/networking/cluster/terraform/providers/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/terraform/providers/default.nix b/pkgs/applications/networking/cluster/terraform/providers/default.nix
index 72da1dd77d57..40117b458550 100644
--- a/pkgs/applications/networking/cluster/terraform/providers/default.nix
+++ b/pkgs/applications/networking/cluster/terraform/providers/default.nix
@@ -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: