mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-08-16 20:00:36 +03:00
add workaround when running in non-nixos environments
This commit is contained in:
parent
a75b9c5163
commit
f44ce5b7b8
@ -380,6 +380,9 @@ fi
|
||||
step Installing NixOS
|
||||
ssh_ <<SSH
|
||||
set -efu ${enable_debug}
|
||||
# when running not in nixos we might miss this directory, but it's needed in the nixos chroot during installation
|
||||
export PATH=\$PATH:/run/current-system/sw/bin
|
||||
|
||||
# needed for installation if initrd-secrets are used
|
||||
mkdir -p /mnt/tmp
|
||||
chmod 777 /mnt/tmp
|
||||
|
Loading…
Reference in New Issue
Block a user