1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

Merge pull request #136249 from lovesegfault/ddcci-driver-makeflags

linuxPackages.ddcci-driver: use kernel's make flags
This commit is contained in:
Bernardo Meurer 2021-08-31 23:39:20 +00:00 committed by GitHub
commit 3e31a8d02f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
--replace depmod \#
'';
makeFlags = [
makeFlags = kernel.makeFlags ++ [
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"KVER=${kernel.modDirVersion}"
"KERNEL_MODLIB=$(out)/lib/modules/${kernel.modDirVersion}"