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