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
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27

View File

@ -247,7 +247,7 @@ let
{ src = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf"; } { src = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf"; }
'' ''
target=$out 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"; symlink = "/etc/modprobe.d/ubuntu.conf";
} }