From 499921d643d2962c580e76e0aa48753fe980898b Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Fri, 9 Sep 2022 15:02:39 -0700 Subject: [PATCH] emacs: avoid installing gsettings-desktop-schemas on Darwin --- pkgs/applications/editors/emacs/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 34853b890417..5e455b6bcd9f 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -136,7 +136,7 @@ let emacs = stdenv.mkDerivation (lib.optionalAttrs nativeComp { ++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ] ++ lib.optional (withX && withGTK2) gtk2-x11 ++ lib.optional (withX && withGTK3) gtk3-x11 - ++ lib.optional withGTK3 gsettings-desktop-schemas + ++ lib.optional (!stdenv.isDarwin && withGTK3) gsettings-desktop-schemas ++ lib.optional withPgtk gtk3 ++ lib.optional (withX && withMotif) motif ++ lib.optional withSQLite3 sqlite