summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/infest
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-07-23 23:25:37 +0200
committertv <tv@krebsco.de>2017-07-25 12:36:00 +0200
commite7678382514c6d8bd555be6721c8df91e2dec7cf (patch)
tree77890fcb43a2e0127df96f56c006e3dc854987d3 /krebs/4lib/infest
parent1375e1eb7c3dd90b1228d1ce583a6f2a8875a7e1 (diff)
infest prepare: sed NIX_PATH more lenient everywhere
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 d39aca348..92e32a905 100644
--- a/krebs/4lib/infest/prepare.sh
+++ b/krebs/4lib/infest/prepare.sh
@@ -217,7 +217,7 @@ prepare_common() {(
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
if ! grep -q '^PATH.*#krebs' .bashrc; then
echo '. /root/.nix-profile/etc/profile.d/nix.sh' >> .bashrc