emacs: do not allow webkitgtk on Emacs >= 30

An incompatibility with newer versions of webkit2gtk was revealed
upstream (https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-09/msg00695.html).
This commit is contained in:
Brian Leung 2024-09-26 04:48:03 -07:00
parent 1518039f12
commit a755ead8ef
No known key found for this signature in database
GPG Key ID: 2D86D6A94C8BB3B1

View File

@ -86,7 +86,7 @@
, withWebP ? lib.versionAtLeast version "29"
, withX ? !(stdenv.hostPlatform.isDarwin || noGui || withPgtk)
, withXinput2 ? withX && lib.versionAtLeast version "29"
, withXwidgets ? !stdenv.hostPlatform.isDarwin && !noGui && (withGTK3 || withPgtk)
, withXwidgets ? !stdenv.hostPlatform.isDarwin && !noGui && (withGTK3 || withPgtk) && (lib.versionOlder version "30") # XXX: upstream bug 66068 precludes newer versions of webkit2gtk (https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-09/msg00695.html)
, withSmallJaDic ? false
, withCompressInstall ? true