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

This commit is contained in:
Shea Levy
2018-02-28 15:01:32 -05:00
parent b28cb72908
commit cc81202293
+1 -1
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";
}