modules-closure: Use stdenvNoCC

This commit is contained in:
Tuomas Tynkkynen 2016-10-03 22:17:24 +03:00 committed by Tuomas Tynkkynen
parent 3926d235d5
commit 5076c0a5d3

View File

@ -3,10 +3,10 @@
# the modules identified by `rootModules', plus their dependencies. # the modules identified by `rootModules', plus their dependencies.
# Also generate an appropriate modules.dep. # Also generate an appropriate modules.dep.
{ stdenv, kernel, nukeReferences, rootModules { stdenvNoCC, kernel, nukeReferences, rootModules
, kmod, allowMissing ? false }: , kmod, allowMissing ? false }:
stdenv.mkDerivation { stdenvNoCC.mkDerivation {
name = kernel.name + "-shrunk"; name = kernel.name + "-shrunk";
builder = ./modules-closure.sh; builder = ./modules-closure.sh;
buildInputs = [ nukeReferences kmod ]; buildInputs = [ nukeReferences kmod ];