1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

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