diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2023-04-01 08:27:28 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2023-04-03 10:00:13 +1000 |
commit | 4efd34323c24f3db6593f3c13308378bbd845657 (patch) | |
tree | e0cba3a8648e31bb86b588fc1f5ba7bc1d418c9b | |
parent | 9ce1d14a8bdc071269b7a63d5bebe0804b871957 (diff) |
terraform: remove `remove plugins` from postInstall
hasn't been needed for a long time also remove unneeded fetchpatch
-rw-r--r-- | pkgs/applications/networking/cluster/terraform/default.nix | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 02717bd99974b..0182a4ce50de4 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) ''; |