diff options
author | Shea Levy <shea@shealevy.com> | 2018-02-27 21:14:48 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-02-28 15:01:32 -0500 |
commit | cc81202293a3cdd9a9bec58f8e2bf942d4539c74 (patch) | |
tree | 0f9dc200bac6d8833ffcb5a976dcb60e3e16fb5c /nixos/modules/system/boot | |
parent | b28cb729080e42fc9f8cc7ae29f1c1d8070b5d5a (diff) | |
download | nixlib-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar nixlib-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.gz nixlib-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.bz2 nixlib-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.lz nixlib-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.xz nixlib-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.zst nixlib-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.zip |
nixos: initrd-kmod-blacklist-ubuntu: Fix cross-compilation.
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index c23b54ee65f9..494780f17485 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -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"; } |