nixos/install-grub: Store path should be /nix/store not /nix

This commit is contained in:
William A. Kennington III 2014-08-31 09:18:51 -07:00
parent 36614ff3e2
commit 0b66483c9a

View File

@ -154,7 +154,7 @@ sub GrubFs {
return Grub->new(path => $path, search => $search);
}
my $grubBoot = GrubFs("/boot");
my $grubStore = GrubFs("/nix");
my $grubStore = GrubFs("/nix/store");
# We don't need to copy if we can read the kernels directly
if ($grubStore->search ne "") {