nixos: initrd-kmod-blacklist-ubuntu: Fix cross-compilation.

This commit is contained in:
Shea Levy
2018-02-27 21:14:48 -05:00
parent b28cb72908
commit cc81202293

View File

@@ -247,7 +247,7 @@ let
{ src = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf"; }
''
target=$out
${pkgs.perl}/bin/perl -0pe 's/## file: iwlwifi.conf(.+?)##/##/s;' $src > $out
${pkgs.buildPackages.perl}/bin/perl -0pe 's/## file: iwlwifi.conf(.+?)##/##/s;' $src > $out
'';
symlink = "/etc/modprobe.d/ubuntu.conf";
}