aggregateModules: use stdenvNoCC instead of stdenv (#67579)

This commit is contained in:
Ben Wolsieffer 2019-08-28 09:48:48 -04:00 committed by Dmitry Kalinkin
parent 4ae9d16c07
commit b6d906732c

View file

@ -1,4 +1,4 @@
{ stdenv, kmod, modules, buildEnv, name ? "kernel-modules" }:
{ stdenvNoCC, kmod, modules, buildEnv, name ? "kernel-modules" }:
buildEnv {
inherit name;
@ -7,7 +7,7 @@ buildEnv {
postBuild =
''
source ${stdenv}/setup
source ${stdenvNoCC}/setup
if ! test -d "$out/lib/modules"; then
echo "No modules found."