imagemagick: Try to fix Darwin build

This commit is contained in:
Jan Tojnar 2021-04-28 09:53:27 +02:00
parent 8647ddb0d3
commit 26e044b14a
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,7 @@
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg, djvulibre
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp, libheif
, ApplicationServices
, Foundation
}:
let
@ -50,7 +51,10 @@ stdenv.mkDerivation rec {
]
++ lib.optionals (!stdenv.hostPlatform.isMinGW)
[ openexr librsvg openjpeg ]
++ lib.optional stdenv.isDarwin ApplicationServices;
++ lib.optionals stdenv.isDarwin [
ApplicationServices
Foundation
];
propagatedBuildInputs =
[ bzip2 freetype libjpeg lcms2 ]

View File

@ -24028,7 +24028,7 @@ in
});
imagemagickBig = lowPrio (callPackage ../applications/graphics/ImageMagick/7.0.nix {
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation;
});
inherit (nodePackages) imapnotify;