Skip to content

Commit

Permalink
Merge pull request #14 from bobvanderlinden/patch-4
Browse files Browse the repository at this point in the history
use NIXOS_INSTALL_REEXEC=1 for nixos-install
  • Loading branch information
jeaye committed Apr 16, 2016
2 parents 03eeceb + 28ffb9e commit c85487e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stage2
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ mv $nixos_dir/hardware-configuration.nix $nixos_dir/backup-hardware-configuratio
pcregrep -Mv "fileSystems.\"/\"[\s\S]*};" $nixos_dir/backup-hardware-configuration.nix > $nixos_dir/hardware-configuration.nix

## Installs grub and a base NixOS system; after a reboot, we're golden
nixos-install --root /nixos
NIXOS_INSTALL_REEXEC=1 nixos-install --root /nixos
exit

0 comments on commit c85487e

Please sign in to comment.