about summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2022-08-22 21:56:00 +0800
committeradisbladis <adisbladis@gmail.com>2022-08-23 14:27:12 +0800
commitca25a9c7b2025deafaab976912117e1ca31fc061 (patch)
tree994f9fb5d7aab5b3783030d652b7d3cc775b6a04 /pkgs/applications/editors/emacs
parent73c90badf31492c8cf67745d46de277321b4712a (diff)
downloadnixlib-ca25a9c7b2025deafaab976912117e1ca31fc061.tar
nixlib-ca25a9c7b2025deafaab976912117e1ca31fc061.tar.gz
nixlib-ca25a9c7b2025deafaab976912117e1ca31fc061.tar.bz2
nixlib-ca25a9c7b2025deafaab976912117e1ca31fc061.tar.lz
nixlib-ca25a9c7b2025deafaab976912117e1ca31fc061.tar.xz
nixlib-ca25a9c7b2025deafaab976912117e1ca31fc061.tar.zst
nixlib-ca25a9c7b2025deafaab976912117e1ca31fc061.zip
emacs: Enable xinput2 on version 29 and newer
Diffstat (limited to 'pkgs/applications/editors/emacs')
-rw-r--r--pkgs/applications/editors/emacs/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix
index 9c1696e59da0..209d0ee96b4c 100644
--- a/pkgs/applications/editors/emacs/generic.nix
+++ b/pkgs/applications/editors/emacs/generic.nix
@@ -30,7 +30,7 @@
 , withAthena ? false
 , withToolkitScrollBars ? true
 , withPgtk ? false
-, withXinput2 ? false
+, withXinput2 ? withX && lib.versionAtLeast version "29"
 , withImageMagick ? lib.versionOlder version "27" && (withX || withNS)
 , toolkit ? (
   if withGTK2 then "gtk2"