apfs: prepend kernel.makeFlags to makeFlags

This commit is contained in:
Nick Cao 2022-02-10 09:35:56 +08:00
parent 2bd89d95c6
commit 07b06a7274
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation {
hardeningDisable = [ "pic" ];
nativeBuildInputs = kernel.moduleBuildDependencies;
makeFlags = [
makeFlags = kernel.makeFlags ++ [
"KERNELRELEASE=${kernel.modDirVersion}"
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"INSTALL_MOD_PATH=$(out)"