diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-03-15 04:49:34 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-03-15 04:51:12 +0000 |
commit | 8bbd48e40f3b5d06b6c93de6ab795d2554717fd3 (patch) | |
tree | 7ecce1ad35685d07e6d81392389954ee448c5bcc /nixos/modules/system/boot/loader | |
parent | d4be6b330e0a61f996aadf5a6cc1b2ad2f18c383 (diff) |
nixos: fix install-grub.pl dependencies
fallback from updates to perl
Diffstat (limited to 'nixos/modules/system/boot/loader')
-rw-r--r-- | nixos/modules/system/boot/loader/grub/grub.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix index 0d83391de893..1590708dab18 100644 --- a/nixos/modules/system/boot/loader/grub/grub.nix +++ b/nixos/modules/system/boot/loader/grub/grub.nix @@ -538,7 +538,7 @@ in in pkgs.writeScript "install-grub.sh" ('' #!${pkgs.stdenv.shell} set -e - export PERL5LIB=${makePerlPath (with pkgs.perlPackages; [ FileSlurp XMLLibXML XMLSAX ListCompare ])} + export PERL5LIB=${makePerlPath (with pkgs.perlPackages; [ FileSlurp XMLLibXML XMLSAX XMLSAXBase ListCompare ])} ${optionalString cfg.enableCryptodisk "export GRUB_ENABLE_CRYPTODISK=y"} '' + flip concatMapStrings cfg.mirroredBoots (args: '' ${pkgs.perl}/bin/perl ${install-grub-pl} ${grubConfig args} $@ |