Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Commit

Permalink
Lack of laziness strikes again...
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Oct 7, 2013
1 parent a8fa59a commit 5c17d7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/system/boot/loader/grub/memtest.nix
Expand Up @@ -23,15 +23,15 @@ 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+" {
linux16 @bootRoot@/memtest.bin
}
''
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";

Expand Down

0 comments on commit 5c17d7d

Please sign in to comment.