From c36e1b0d18b87fe5102824b3d389f80f879172cd Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 6 Oct 2019 11:50:58 +0100 Subject: [PATCH] build libinput to look for local quirks in /etc If the user wants to configure libinput locally (e.g. to tune touchpad sensitivity) the advertised[*] mechanism to do this upstream is by adding a file /etc/libinput/local-overrides.quirks Add --sysconfdir option to the libinput configurePhase so that we build libinput to look for the file there instead of in libinput's store path [*] can't quite claim it as "supported", but it's certainly the mechanism that's publically described. See https://wayland.freedesktop.org/libinput/doc/latest/device-quirks.html --- pkgs/development/libraries/libinput/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/libinput/default.nix b/pkgs/development/libraries/libinput/default.nix index 2085d27a1ee..8d48082e1d9 100644 --- a/pkgs/development/libraries/libinput/default.nix +++ b/pkgs/development/libraries/libinput/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { (mkFlag documentationSupport "documentation") (mkFlag eventGUISupport "debug-gui") (mkFlag testsSupport "tests") + "--sysconfdir=/etc" "--libexecdir=${placeholder "bin"}/libexec" ];