Making the memtest name come from the pkgs.memtest86, as the nixos

user can override choosing between two memtests.


svn path=/nixos/trunk/; revision=33690
This commit is contained in:
Lluís Batlle i Rossell 2012-04-09 20:08:14 +00:00
parent d3c1261665
commit 0b8b6616b6

@ -20,7 +20,7 @@ in
config.boot.loader.grub = mkIf isEnabled { config.boot.loader.grub = mkIf isEnabled {
extraEntries = extraEntries =
'' ''
menuentry "Memtest86+" { menuentry "${pkgs.memtest86.name}" {
linux16 $bootRoot/memtest.bin linux16 $bootRoot/memtest.bin
} }
''; '';