diff --git a/pkgs/applications/editors/emacs/make-emacs.nix b/pkgs/applications/editors/emacs/make-emacs.nix index 22246f9fe962..cf0bdf44e488 100644 --- a/pkgs/applications/editors/emacs/make-emacs.nix +++ b/pkgs/applications/editors/emacs/make-emacs.nix @@ -238,6 +238,8 @@ stdenv.mkDerivation (finalAttrs: { "" ]; + strictDeps = true; + nativeBuildInputs = [ makeWrapper pkg-config @@ -246,10 +248,10 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optionals srcRepo [ autoreconfHook ] - ++ lib.optionals (withPgtk || withX && (withGTK3 || withXwidgets)) [ wrapGAppsHook3 ]; + ++ lib.optionals (withPgtk || withX && (withGTK3 || withXwidgets)) [ wrapGAppsHook3 ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ sigtool ]; buildInputs = [ - gettext gnutls (lib.getDev harfbuzz) ] @@ -339,9 +341,6 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optionals withWebkitgtk [ webkitgtk_4_1 ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - sigtool - ] ++ lib.optionals withNS [ librsvg ]