From a4161ac355636551f5a3a441d388c7c0021b80f7 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Wed, 10 Aug 2016 18:01:12 +0100 Subject: [PATCH] terraform: fixes the plugins The plugins are now part of the binary and cause conflict when available in the $PATH as well. --- pkgs/applications/networking/cluster/terraform/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 78edcff30cc..2bc1a643db7 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -15,10 +15,10 @@ buildGoPackage rec { }; postInstall = '' - # prefix all the plugins with "terraform-" + # remove all plugins, they are part of the main binary now for i in $bin/bin/*; do if [[ $(basename $i) != terraform ]]; then - mv -v $i $bin/bin/terraform-$(basename $i); + rm "$i" fi done '';