mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
modules-closure: Use stdenvNoCC
This commit is contained in:
parent
3926d235d5
commit
5076c0a5d3
@ -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 ];
|
||||||
|
Loading…
Reference in New Issue
Block a user