kernel derivation: add output for module support

module-based-network
Daniel Barlow 2023-02-22 18:33:17 +00:00
parent e89fcfbf09
commit 891db9edc5
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
dontStrip = true;
dontPatchELF = true;
outputs = ["out" "headers"];
outputs = ["out" "headers" "modulesupport"];
phases = [
"unpackPhase"
"butcherPkgconfig"
@ -89,6 +89,8 @@ stdenv.mkDerivation rec {
cp vmlinux $out
mkdir -p $headers
cp -a include .config $headers/
make clean modules_prepare
cp -a . $modulesupport
'';
}