diff options
author | Shea Levy <shea@shealevy.com> | 2018-02-27 21:17:49 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-02-28 15:01:32 -0500 |
commit | 6a32291523a92d6b1b763e8e8198a99214a874c2 (patch) | |
tree | ee7b91086353a7c03defc05b8c789d374686c99c /pkgs/build-support/kernel | |
parent | cc81202293a3cdd9a9bec58f8e2bf942d4539c74 (diff) | |
download | nixlib-6a32291523a92d6b1b763e8e8198a99214a874c2.tar nixlib-6a32291523a92d6b1b763e8e8198a99214a874c2.tar.gz nixlib-6a32291523a92d6b1b763e8e8198a99214a874c2.tar.bz2 nixlib-6a32291523a92d6b1b763e8e8198a99214a874c2.tar.lz nixlib-6a32291523a92d6b1b763e8e8198a99214a874c2.tar.xz nixlib-6a32291523a92d6b1b763e8e8198a99214a874c2.tar.zst nixlib-6a32291523a92d6b1b763e8e8198a99214a874c2.zip |
makeModulesClosure: Fix cross-compilation
Diffstat (limited to 'pkgs/build-support/kernel')
-rw-r--r-- | pkgs/build-support/kernel/modules-closure.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/kernel/modules-closure.nix b/pkgs/build-support/kernel/modules-closure.nix index a527770adcd7..d82e279799ba 100644 --- a/pkgs/build-support/kernel/modules-closure.nix +++ b/pkgs/build-support/kernel/modules-closure.nix @@ -9,7 +9,7 @@ stdenvNoCC.mkDerivation { name = kernel.name + "-shrunk"; builder = ./modules-closure.sh; - buildInputs = [ nukeReferences kmod ]; + nativeBuildInputs = [ nukeReferences kmod ]; inherit kernel firmware rootModules allowMissing; allowedReferences = ["out"]; } |