Merge pull request #222674 from PhDyellow/fix_tuxedo_keyboard

tuxedo-keyboard: Fix build
This commit is contained in:
Weijia Wang 2023-03-23 16:18:19 +02:00 committed by GitHub
commit f7108e6257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, kernel, linuxHeaders }: { lib, stdenv, fetchFromGitHub, kernel, linuxHeaders, pahole }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tuxedo-keyboard-${kernel.version}"; pname = "tuxedo-keyboard-${kernel.version}";
@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "h6+br+JPEItym83MaVt+xo6o/zMtTv8+wsBoTeYa2AM="; sha256 = "h6+br+JPEItym83MaVt+xo6o/zMtTv8+wsBoTeYa2AM=";
}; };
buildInputs = [ linuxHeaders ]; buildInputs = [
pahole
linuxHeaders
];
makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" ]; makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" ];