summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/infest
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-01-30 21:07:48 +0100
committermakefu <github@syntax-fehler.de>2018-01-30 21:07:48 +0100
commitfac9f4d2a0d855e4b27244df6a3bb831e0305f6b (patch)
tree1412cf1283c90199ec5c3abbe3d87a6035f8e66b /krebs/4lib/infest
parentb31a37799eff274215d4cd9d435a9c16d496a88c (diff)
parentffc294575cb59585c3bfb6b85fa45fb69cdf1d41 (diff)
Merge branch 'master' of prism:stockholm
Diffstat (limited to 'krebs/4lib/infest')
-rw-r--r--krebs/4lib/infest/prepare.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/krebs/4lib/infest/prepare.sh b/krebs/4lib/infest/prepare.sh
index 78c1c6ec1..cbc62102c 100644
--- a/krebs/4lib/infest/prepare.sh
+++ b/krebs/4lib/infest/prepare.sh
@@ -81,6 +81,9 @@ prepare_debian() {
}
prepare_nixos_iso() {
+ _which() (
+ type -p "$1"
+ )
mountpoint /mnt
type git 2>/dev/null || nix-env -iA nixos.git