diff options
Diffstat (limited to 'pkgs/build-support/kernel')
-rw-r--r-- | pkgs/build-support/kernel/modules-closure.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/kernel/modules-closure.sh b/pkgs/build-support/kernel/modules-closure.sh index 9a49d42cdc1a..5658094872c8 100644 --- a/pkgs/build-support/kernel/modules-closure.sh +++ b/pkgs/build-support/kernel/modules-closure.sh @@ -3,7 +3,7 @@ source $stdenv/setup # When no modules are built, the $out/lib/modules directory will not # exist. Because the rest of the script assumes it does exist, we # handle this special case first. -if ! test -d "$out/lib/modules"; then +if ! test -d "$kernel/lib/modules"; then if test -z "$rootModules" || test -n "$allowMissing"; then mkdir -p "$out" exit 0 |