infest prepare: define _which on nixos_iso
This commit is contained in:
parent
044f54b36f
commit
0cad7868a4
@ -81,6 +81,9 @@ prepare_debian() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
prepare_nixos_iso() {
|
prepare_nixos_iso() {
|
||||||
|
_which() (
|
||||||
|
type -p "$1"
|
||||||
|
)
|
||||||
mountpoint /mnt
|
mountpoint /mnt
|
||||||
|
|
||||||
type git 2>/dev/null || nix-env -iA nixos.git
|
type git 2>/dev/null || nix-env -iA nixos.git
|
||||||
|
Loading…
Reference in New Issue
Block a user