summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-27 21:14:48 -0500
committerShea Levy <shea@shealevy.com>2018-02-28 15:01:32 -0500
commitcc81202293a3cdd9a9bec58f8e2bf942d4539c74 (patch)
tree0f9dc200bac6d8833ffcb5a976dcb60e3e16fb5c /nixos/modules/system/boot/stage-1.nix
parentb28cb729080e42fc9f8cc7ae29f1c1d8070b5d5a (diff)
downloadnixpkgs-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar
nixpkgs-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.gz
nixpkgs-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.bz2
nixpkgs-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.lz
nixpkgs-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.xz
nixpkgs-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.tar.zst
nixpkgs-cc81202293a3cdd9a9bec58f8e2bf942d4539c74.zip
nixos: initrd-kmod-blacklist-ubuntu: Fix cross-compilation.
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r--nixos/modules/system/boot/stage-1.nix2
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 c23b54ee65f..494780f1748 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";
         }