summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2014-08-31 09:18:51 -0700
committerWilliam A. Kennington III <william@wkennington.com>2014-09-02 09:16:13 -0700
commit0b66483c9a64ccda86828edadda29d5ccd532b9f (patch)
tree8dc743580cfa01c94de7b9266902800d9d17cf70 /nixos
parent36614ff3e290a9330dd8e29bdc6cc38ede1e7001 (diff)
downloadnixlib-0b66483c9a64ccda86828edadda29d5ccd532b9f.tar
nixlib-0b66483c9a64ccda86828edadda29d5ccd532b9f.tar.gz
nixlib-0b66483c9a64ccda86828edadda29d5ccd532b9f.tar.bz2
nixlib-0b66483c9a64ccda86828edadda29d5ccd532b9f.tar.lz
nixlib-0b66483c9a64ccda86828edadda29d5ccd532b9f.tar.xz
nixlib-0b66483c9a64ccda86828edadda29d5ccd532b9f.tar.zst
nixlib-0b66483c9a64ccda86828edadda29d5ccd532b9f.zip
nixos/install-grub: Store path should be /nix/store not /nix
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/loader/grub/install-grub.pl2
1 files changed, 1 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 7ced51f57e16..9ef1a6977047 100644
--- a/nixos/modules/system/boot/loader/grub/install-grub.pl
+++ b/nixos/modules/system/boot/loader/grub/install-grub.pl
@@ -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 "") {