mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
Merge pull request #278714 from ck3d/fix-lircd-uinput
lircd: fix lircd-uinput
This commit is contained in:
commit
2c9008a945
@ -6,6 +6,7 @@
|
||||
, pkg-config
|
||||
, help2man
|
||||
, python3
|
||||
, linuxHeaders
|
||||
|
||||
, alsa-lib
|
||||
, libxslt
|
||||
@ -60,9 +61,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
# use empty inc file instead of a from linux kernel generated one
|
||||
touch lib/lirc/input_map.inc
|
||||
|
||||
export PKGCONFIG="$PKG_CONFIG"
|
||||
'';
|
||||
|
||||
@ -72,7 +70,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ alsa-lib systemd libusb-compat-0_1 libftdi1 libICE libSM libX11 ];
|
||||
|
||||
DEVINPUT_HEADER = "include/linux/input-event-codes.h";
|
||||
DEVINPUT_HEADER = "${linuxHeaders}/include/linux/input-event-codes.h";
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
|
Loading…
Reference in New Issue
Block a user