imagemagick: Try to fix Darwin build
This commit is contained in:
parent
8647ddb0d3
commit
26e044b14a
2 changed files with 6 additions and 2 deletions
|
@ -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 ]
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue