diff --git a/pkgs/applications/editors/emacs/make-emacs.nix b/pkgs/applications/editors/emacs/make-emacs.nix index f1505d45f4f9..9205cae9bf2e 100644 --- a/pkgs/applications/editors/emacs/make-emacs.nix +++ b/pkgs/applications/editors/emacs/make-emacs.nix @@ -74,6 +74,7 @@ withCairo ? withX, withCsrc ? true, withDbus ? stdenv.hostPlatform.isLinux, + withGcMarkTrace ? false, # increase gc performance for reduced debugability withGTK3 ? withPgtk && !noGui, withGlibNetworking ? withPgtk || withGTK3 || (withX && withXwidgets), withGpm ? stdenv.hostPlatform.isLinux, @@ -408,6 +409,7 @@ stdenv.mkDerivation (finalAttrs: { (lib.withFeature withNS "ns") ] ++ [ + (lib.enableFeature withGcMarkTrace "gc-mark-trace") (lib.withFeature withCompressInstall "compress-install") (lib.withFeature withToolkitScrollBars "toolkit-scroll-bars") (lib.withFeature withNativeCompilation "native-compilation")