Lack of laziness strikes again...

This commit is contained in:
Eelco Dolstra 2013-10-07 11:32:28 +02:00
parent a8fa59aa73
commit 5c17d7d2a6
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ in
config = mkIf config.boot.loader.grub.memtest86 {
boot.loader.grub.extraEntries =
boot.loader.grub.extraEntries = mkFixStrictness (
if config.boot.loader.grub.version == 2 then
''
menuentry "Memtest86+" {
@ -31,7 +31,7 @@ in
}
''
else
throw "Memtest86+ is not supported with GRUB 1.";
throw "Memtest86+ is not supported with GRUB 1.");
boot.loader.grub.extraFiles."memtest.bin" = "${memtest86}/memtest.bin";