nixos/install-grub: Store path should be /nix/store not /nix
This commit is contained in:
parent
36614ff3e2
commit
0b66483c9a
@ -154,7 +154,7 @@ sub GrubFs {
|
|||||||
return Grub->new(path => $path, search => $search);
|
return Grub->new(path => $path, search => $search);
|
||||||
}
|
}
|
||||||
my $grubBoot = GrubFs("/boot");
|
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
|
# We don't need to copy if we can read the kernels directly
|
||||||
if ($grubStore->search ne "") {
|
if ($grubStore->search ne "") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user