diff options
author | William A. Kennington III <william@wkennington.com> | 2014-08-31 17:15:39 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-09-02 09:16:13 -0700 |
commit | 94679376395b32759c19b2145b684099b6f67471 (patch) | |
tree | 0f617bec48d9dd11821aae5ad9aef7d1b8124bab /nixos | |
parent | 61908bdd80a40b8231e4106e38f8b38d4e4a4c09 (diff) | |
download | nixlib-94679376395b32759c19b2145b684099b6f67471.tar nixlib-94679376395b32759c19b2145b684099b6f67471.tar.gz nixlib-94679376395b32759c19b2145b684099b6f67471.tar.bz2 nixlib-94679376395b32759c19b2145b684099b6f67471.tar.lz nixlib-94679376395b32759c19b2145b684099b6f67471.tar.xz nixlib-94679376395b32759c19b2145b684099b6f67471.tar.zst nixlib-94679376395b32759c19b2145b684099b6f67471.zip |
nixos/install-grub: Only check for /nix to be the mountPoint for the store
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/loader/grub/install-grub.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/grub/install-grub.pl b/nixos/modules/system/boot/loader/grub/install-grub.pl index 05fc99006095..570cd2239b0c 100644 --- a/nixos/modules/system/boot/loader/grub/install-grub.pl +++ b/nixos/modules/system/boot/loader/grub/install-grub.pl @@ -164,7 +164,8 @@ sub GrubFs { return Grub->new(path => $path, search => $search); } my $grubBoot = GrubFs("/boot"); -my $grubStore = GrubFs("/nix/store"); +# FIXME: Should be /nix/store, but this fails in the installer +my $grubStore = GrubFs("/nix"); # Generate the header. my $conf .= "# Automatically generated. DO NOT EDIT THIS FILE!\n"; |