diff options
author | Daniel Barlow <dan@telent.net> | 2019-10-06 11:50:58 +0100 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2019-11-24 10:03:14 +0100 |
commit | c36e1b0d18b87fe5102824b3d389f80f879172cd (patch) | |
tree | 718dbd7c65dc0cbaf56f8f367c9e12741577d12b /pkgs/development/libraries/libinput | |
parent | cc4ff0904f4c1b245ae7254970e91003a9cd2acb (diff) |
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
Diffstat (limited to 'pkgs/development/libraries/libinput')
-rw-r--r-- | pkgs/development/libraries/libinput/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libinput/default.nix b/pkgs/development/libraries/libinput/default.nix index 2085d27a1ee13..8d48082e1d9c7 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" ]; |