3
0
Fork 0
forked from mirrors/nixpkgs

emacs: Add withXinput2 argument

This commit is contained in:
Have a good time 2021-12-27 17:08:27 +08:00
parent bd241e39f3
commit 3fdeef8a7e
No known key found for this signature in database
GPG key ID: 08F42DAC4FBAADF2

View file

@ -26,6 +26,7 @@
, siteStart ? ./site-start.el
, nativeComp ? false
, withPgtk ? false
, withXinput2 ? false
, withImageMagick ? lib.versionOlder version "27" && (withX || withNS)
, toolkit ? (
if withGTK2 then "gtk2"
@ -152,6 +153,7 @@ let emacs = stdenv.mkDerivation (lib.optionalAttrs nativeComp {
++ lib.optional nativeComp "--with-native-compilation"
++ lib.optional withImageMagick "--with-imagemagick"
++ lib.optional withPgtk "--with-pgtk"
++ lib.optional withXinput2 "--with-xinput2"
;
installTargets = [ "tags" "install" ];