summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/4lib/infest/prepare.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/krebs/4lib/infest/prepare.sh b/krebs/4lib/infest/prepare.sh
index ee5f334c7..ff1ab1fb7 100644
--- a/krebs/4lib/infest/prepare.sh
+++ b/krebs/4lib/infest/prepare.sh
@@ -116,11 +116,6 @@ prepare_hetzner_rescue() {
mount --rbind /mnt/"$target_path" "$target_path"
fi
- mkdir -p bin
- rm -f bin/nixos-install
- cp "$(type -p nixos-install)" bin/nixos-install
- sed -i "s@NIX_PATH=\"[^\"]*\"@NIX_PATH=$target_path@" bin/nixos-install
-
_prepare_nix_users
_prepare_nix
_prepare_nixos_install