Unverified Commit 2c9008a9 authored by markuskowa's avatar markuskowa Committed by GitHub
Browse files

Merge pull request #278714 from ck3d/fix-lircd-uinput

lircd: fix lircd-uinput
parents dde36142 e57fc2a9
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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"