diff options
author | William A. Kennington III <william@wkennington.com> | 2014-07-13 09:50:45 -0500 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-08-28 13:35:37 -0700 |
commit | cf7f7a51071b9491085eac36ab292163b823e687 (patch) | |
tree | 2fe9185902b9479e6287ac4ac80b01ab58136cfe /nixos | |
parent | 36a47733a264dbfe0d8cb62a1a0d5d4d4b07b715 (diff) | |
download | nixlib-cf7f7a51071b9491085eac36ab292163b823e687.tar nixlib-cf7f7a51071b9491085eac36ab292163b823e687.tar.gz nixlib-cf7f7a51071b9491085eac36ab292163b823e687.tar.bz2 nixlib-cf7f7a51071b9491085eac36ab292163b823e687.tar.lz nixlib-cf7f7a51071b9491085eac36ab292163b823e687.tar.xz nixlib-cf7f7a51071b9491085eac36ab292163b823e687.tar.zst nixlib-cf7f7a51071b9491085eac36ab292163b823e687.zip |
nixos/install-grub: Check /boot against /nix/store instead of /nix
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/loader/grub/install-grub.pl | 2 |
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 acfb85f3bc5c..d8ee8b500970 100644 --- a/nixos/modules/system/boot/loader/grub/install-grub.pl +++ b/nixos/modules/system/boot/loader/grub/install-grub.pl @@ -60,7 +60,7 @@ mkpath("/boot/grub", 0, 0700); # Discover whether /boot is on the same filesystem as / and # /nix/store. If not, then all kernels and initrds must be copied to # /boot. -if (stat("/boot")->dev != stat("/nix")->dev) { +if (stat("/boot")->dev != stat("/nix/store")->dev) { $copyKernels = 1; } |