3
0
Fork 0
forked from mirrors/nixpkgs

hid-nintendo: prepend kernel.makeFlags to makeFlags

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

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = kernel.moduleBuildDependencies;
makeFlags = [
makeFlags = kernel.makeFlags ++ [
"-C"
"${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"M=$(sourceRoot)"