nixos/grub: Fix defaultConfig
This commit is contained in:
parent
c0a5ffc438
commit
d4f3930201
@ -354,7 +354,7 @@ in
|
|||||||
export PERL5LIB=${makePerlPath (with pkgs.perlPackages; [ FileSlurp XMLLibXML XMLSAX ListCompare ])}
|
export PERL5LIB=${makePerlPath (with pkgs.perlPackages; [ FileSlurp XMLLibXML XMLSAX ListCompare ])}
|
||||||
${optionalString cfg.enableCryptodisk "export GRUB_ENABLE_CRYPTODISK=y"}
|
${optionalString cfg.enableCryptodisk "export GRUB_ENABLE_CRYPTODISK=y"}
|
||||||
'' + flip concatMapStrings cfg.mirroredBoots (args: ''
|
'' + flip concatMapStrings cfg.mirroredBoots (args: ''
|
||||||
${pkgs.perl}/bin/perl ${./install-grub.pl} ${grubConfig args}
|
${pkgs.perl}/bin/perl ${./install-grub.pl} ${grubConfig args} $@
|
||||||
''));
|
''));
|
||||||
|
|
||||||
system.build.grub = grub;
|
system.build.grub = grub;
|
||||||
|
@ -11,7 +11,7 @@ require List::Compare;
|
|||||||
use POSIX;
|
use POSIX;
|
||||||
use Cwd;
|
use Cwd;
|
||||||
|
|
||||||
my $defaultConfig = $ARGV[0] or die;
|
my $defaultConfig = $ARGV[1] or die;
|
||||||
|
|
||||||
my $dom = XML::LibXML->load_xml(location => $ARGV[0]);
|
my $dom = XML::LibXML->load_xml(location => $ARGV[0]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user