infest prepare: define _which on nixos_iso

This commit is contained in:
lassulus 2018-01-28 15:08:50 +01:00
parent 044f54b36f
commit 0cad7868a4

View File

@ -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