jool: prepend kernel.makeFlags to makeFlags

This commit is contained in:
Nick Cao 2022-02-10 10:12:55 +08:00
parent 0341ed782c
commit fd5ead0eed
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -16,13 +16,12 @@ stdenv.mkDerivation {
sed -e 's@/lib/modules/\$(.*)@${kernel.dev}/lib/modules/${kernel.modDirVersion}@' -i src/mod/*/Makefile sed -e 's@/lib/modules/\$(.*)@${kernel.dev}/lib/modules/${kernel.modDirVersion}@' -i src/mod/*/Makefile
''; '';
buildPhase = '' makeFlags = kernel.makeFlags ++ [
make -C src/mod "-C src/mod"
''; "INSTALL_MOD_PATH=${placeholder "out"}"
];
installPhase = '' installTargets = "modules_install";
make -C src/mod modules_install INSTALL_MOD_PATH=$out
'';
meta = with lib; { meta = with lib; {
homepage = "https://www.jool.mx/"; homepage = "https://www.jool.mx/";