aggregateModules: use stdenvNoCC instead of stdenv (#67579)
This commit is contained in:
parent
4ae9d16c07
commit
b6d906732c
1 changed files with 2 additions and 2 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue