memtest.nix: Use toString
This commit is contained in:
parent
d62001d049
commit
d2aa2ac494
@ -7,7 +7,6 @@ with pkgs.lib;
|
|||||||
let
|
let
|
||||||
memtest86 = pkgs.memtest86plus;
|
memtest86 = pkgs.memtest86plus;
|
||||||
cfg = config.boot.loader.grub.memtest86;
|
cfg = config.boot.loader.grub.memtest86;
|
||||||
params = concatStringsSep " " cfg.params;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -82,7 +81,7 @@ in
|
|||||||
if config.boot.loader.grub.version == 2 then
|
if config.boot.loader.grub.version == 2 then
|
||||||
''
|
''
|
||||||
menuentry "Memtest86+" {
|
menuentry "Memtest86+" {
|
||||||
linux16 @bootRoot@/memtest.bin ${params}
|
linux16 @bootRoot@/memtest.bin ${toString cfg.params}
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user