emacs: add zlib dependency

libxml2 no longer propagates it, so some emacs variants are now
missing it (-nox, -macports).  Example log:
https://hydra.nixos.org/build/267222140/nixlog/2/tail
This commit is contained in:
Vladimír Čunát 2024-07-27 10:11:00 +02:00
parent 64c6a981fe
commit adb4258ce2
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -60,6 +60,7 @@
, texinfo
, webkitgtk
, wrapGAppsHook3
, zlib
# Boolean flags
, withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
@ -250,6 +251,7 @@ mkDerivation (finalAttrs: {
glib-networking
] ++ lib.optionals withNativeCompilation [
libgccjit
zlib
] ++ lib.optionals withImageMagick [
imagemagick
] ++ lib.optionals withPgtk [