From 0bf7571e2f7c063f0cf605cf137440c503d28975 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 30 May 2023 16:04:30 -0700 Subject: [PATCH] emacs: Enable SQLite3 and WebP for Emacs >=29 --- pkgs/applications/editors/emacs/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index b42d5e8a1ae6..ddfdbe337186 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -89,11 +89,11 @@ , withMotif ? false , withNS ? stdenv.isDarwin && !(variant == "macport" || noGui) , withPgtk ? false -, withSQLite3 ? false +, withSQLite3 ? lib.versionAtLeast version "29" , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd , withToolkitScrollBars ? true , withTreeSitter ? lib.versionAtLeast version "29" -, withWebP ? false +, withWebP ? lib.versionAtLeast version "29" , withX ? !(stdenv.isDarwin || noGui || withPgtk) , withXinput2 ? withX && lib.versionAtLeast version "29" , withXwidgets ? false