emacs: add missing libXi dependency when enabling withXinput2

Without libXi, the configure flag `--with-xinput2` has no effect.

This can be verified by looking up the variable `system-configuration-features` in Emacs.
This commit is contained in:
Lucas Franceschino 2023-09-01 09:38:51 +02:00 committed by Anderson Torres
parent c09a0604bf
commit 0efb400ade

View File

@ -32,6 +32,7 @@
, libXaw , libXaw
, libXcursor , libXcursor
, libXft , libXft
, libXi
, libXpm , libXpm
, libgccjit , libgccjit
, libjpeg , libjpeg
@ -274,6 +275,8 @@ mkDerivation (finalAttrs: {
libpng libpng
librsvg librsvg
libtiff libtiff
] ++ lib.optionals withXinput2 [
libXi
] ++ lib.optionals withXwidgets [ ] ++ lib.optionals withXwidgets [
webkitgtk webkitgtk
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [