From a284754bae8ab37bfdbd3e939ae3a26d8f6a8c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Mon, 16 Sep 2024 12:39:32 -0600 Subject: [PATCH] emacs: drop GConf dependency --- pkgs/applications/editors/emacs/default.nix | 3 --- pkgs/applications/editors/emacs/make-emacs.nix | 5 ----- 2 files changed, 8 deletions(-) diff --git a/pkgs/applications/editors/emacs/default.nix b/pkgs/applications/editors/emacs/default.nix index 8181b69d335d..c65961b275d6 100644 --- a/pkgs/applications/editors/emacs/default.nix +++ b/pkgs/applications/editors/emacs/default.nix @@ -2,11 +2,8 @@ lib.makeScope pkgs.newScope (self: let - gconf = pkgs.gnome2.GConf; inherit (self) callPackage; inheritedArgs = { - inherit gconf; - inherit (pkgs.darwin) sigtool; inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate AppKit Carbon Cocoa GSS ImageCaptureCore ImageIO IOKit OSAKit diff --git a/pkgs/applications/editors/emacs/make-emacs.nix b/pkgs/applications/editors/emacs/make-emacs.nix index f995b073d377..ad77abc0c44f 100644 --- a/pkgs/applications/editors/emacs/make-emacs.nix +++ b/pkgs/applications/editors/emacs/make-emacs.nix @@ -16,7 +16,6 @@ , dbus , emacsPackagesFor , fetchpatch -, gconf , gettext , giflib , glib-networking @@ -73,7 +72,6 @@ , withDbus ? stdenv.isLinux , withGTK2 ? false , withGTK3 ? withPgtk && !noGui -, withGconf ? false , withGlibNetworking ? withPgtk || withGTK3 || (withX && withXwidgets) , withGpm ? stdenv.isLinux , withImageMagick ? lib.versionOlder version "27" && (withX || withNS) @@ -126,7 +124,6 @@ assert withAcl -> stdenv.isLinux; assert withAlsaLib -> stdenv.isLinux; assert withGTK2 -> !(withGTK3 || withPgtk); assert withGTK3 -> !withGTK2 || withPgtk; -assert withGconf -> withX; assert withGpm -> stdenv.isLinux; assert withNS -> stdenv.isDarwin && !(withX || variant == "macport"); assert withPgtk -> withGTK3 && !withX; @@ -224,8 +221,6 @@ mkDerivation (finalAttrs: { jansson libxml2 ncurses - ] ++ lib.optionals withGconf [ - gconf ] ++ lib.optionals withAcl [ acl ] ++ lib.optionals withAlsaLib [