emacs: enable strictDeps
This also fixes build of Emacs 30 withNS on darwin because now Emacs checks the correct compiler (clang instead of gcc) for Objective-C. See https://github.com/NixOS/nixpkgs/pull/529324 for more info.
This commit is contained in:
@@ -238,6 +238,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
""
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
pkg-config
|
||||
@@ -246,7 +248,8 @@ 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 = [
|
||||
gnutls
|
||||
@@ -338,9 +341,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals withWebkitgtk [
|
||||
webkitgtk_4_1
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
sigtool
|
||||
]
|
||||
++ lib.optionals withNS [
|
||||
librsvg
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user