From 4efd34323c24f3db6593f3c13308378bbd845657 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sat, 1 Apr 2023 08:27:28 +1000 Subject: [PATCH] terraform: remove `remove plugins` from postInstall hasn't been needed for a long time also remove unneeded fetchpatch --- .../applications/networking/cluster/terraform/default.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 02717bd99974..0182a4ce50de 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -8,7 +8,6 @@ , runtimeShell , writeText , terraform-providers -, fetchpatch , installShellFiles }: @@ -38,13 +37,6 @@ let nativeBuildInputs = [ installShellFiles ]; postInstall = '' - # remove all plugins, they are part of the main binary now - for i in $out/bin/*; do - if [[ $(basename $i) != terraform ]]; then - rm "$i" - fi - done - # https://github.com/posener/complete/blob/9a4745ac49b29530e07dc2581745a218b646b7a3/cmd/install/bash.go#L8 installShellCompletion --bash --name terraform <(echo complete -C terraform terraform) '';