summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/infest
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-07-20 20:20:32 +0200
committerlassulus <lassulus@lassul.us>2017-07-22 20:49:06 +0200
commit67bfd42d630e0d72bbee91931fbfae4f79d309c3 (patch)
tree6390195f35ca91148440afaa4f46c07859d2e30c /krebs/4lib/infest
parenta0208307ae1a8069559af39953569275a6d7ee6d (diff)
infest prepare: sed NIX_PATH more lenient
Diffstat (limited to 'krebs/4lib/infest')
-rw-r--r--krebs/4lib/infest/prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/4lib/infest/prepare.sh b/krebs/4lib/infest/prepare.sh
index 50d521e17..d39aca348 100644
--- a/krebs/4lib/infest/prepare.sh
+++ b/krebs/4lib/infest/prepare.sh
@@ -102,7 +102,7 @@ prepare_nixos_iso() {
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
+ sed -i "s@NIX_PATH=\"[^\"]*\"@NIX_PATH=$target_path@" bin/nixos-install
}
get_nixos_install() {