diff options
author | lassulus <lassulus@lassul.us> | 2018-01-28 15:08:50 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-01-28 15:08:50 +0100 |
commit | 0cad7868a46613eb76fe1a8271efe2a9230e85ad (patch) | |
tree | bc858c6d4996fec97a58c36839bc8648a23dbedd /krebs/4lib/infest/prepare.sh | |
parent | 044f54b36fa66a72709565ec4a5edcd412ba0198 (diff) |
infest prepare: define _which on nixos_iso
Diffstat (limited to 'krebs/4lib/infest/prepare.sh')
-rw-r--r-- | krebs/4lib/infest/prepare.sh | 3 |
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 |