summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/cluster/terraform
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2020-04-28 11:50:57 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2020-04-28 20:30:29 +1000
commitb5dc07a4b471e6f651af3b13e4bd841b6b3ea6ed (patch)
tree77df5bd7e3c972e12a022ca5fc437c8f67ce9092 /pkgs/applications/networking/cluster/terraform
parentc59c4e358989ce49afd177e6899549fbb8f8bf7f (diff)
treewide: use $out instead of $bin with buildGoPackage
Diffstat (limited to 'pkgs/applications/networking/cluster/terraform')
-rw-r--r--pkgs/applications/networking/cluster/terraform/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix
index 50a5129226a7..516c4e514029 100644
--- a/pkgs/applications/networking/cluster/terraform/default.nix
+++ b/pkgs/applications/networking/cluster/terraform/default.nix
@@ -26,7 +26,7 @@ let
postInstall = ''
# remove all plugins, they are part of the main binary now
- for i in $bin/bin/*; do
+ for i in $out/bin/*; do
if [[ $(basename $i) != terraform ]]; then
rm "$i"
fi
@@ -88,7 +88,7 @@ let
buildCommand = ''
mkdir -p $out/bin/
- makeWrapper "${terraform.bin}/bin/terraform" "$out/bin/terraform" \
+ makeWrapper "${terraform}/bin/terraform" "$out/bin/terraform" \
--set NIX_TERRAFORM_PLUGIN_DIR "${
buildEnv {
name = "tf-plugin-env";