lol

lircd: fix lircd-uinput

Set DEVINPUT_HEADER to a valid input, so the build system
can generate a non empty input_map.inc.

+2 -4
+2 -4
pkgs/development/libraries/lirc/default.nix
··· 6 6 , pkg-config 7 7 , help2man 8 8 , python3 9 + , linuxHeaders 9 10 10 11 , alsa-lib 11 12 , libxslt ··· 60 61 ''; 61 62 62 63 preConfigure = '' 63 - # use empty inc file instead of a from linux kernel generated one 64 - touch lib/lirc/input_map.inc 65 - 66 64 export PKGCONFIG="$PKG_CONFIG" 67 65 ''; 68 66 ··· 72 70 73 71 buildInputs = [ alsa-lib systemd libusb-compat-0_1 libftdi1 libICE libSM libX11 ]; 74 72 75 - DEVINPUT_HEADER = "include/linux/input-event-codes.h"; 73 + DEVINPUT_HEADER = "${linuxHeaders}/include/linux/input-event-codes.h"; 76 74 77 75 configureFlags = [ 78 76 "--sysconfdir=/etc"