imagemagick: fix build on Darwin (#355536)

This commit is contained in:
Robert Schütz 2024-11-12 20:22:35 -08:00 committed by GitHub
commit 872d3124f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch2
, pkg-config , pkg-config
, libtool , libtool
, bzip2Support ? true, bzip2 , bzip2Support ? true, bzip2
@ -59,6 +60,13 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-NrTIx1OvwPIeVlA39hGkXZ2Atk4FCsU3/55SZeSc40E="; hash = "sha256-NrTIx1OvwPIeVlA39hGkXZ2Atk4FCsU3/55SZeSc40E=";
}; };
patches = [
(fetchpatch2 {
url = "https://github.com/ImageMagick/ImageMagick/commit/bf5650f0dd41b500102a129d6867cb568f4edee4.patch";
hash = "sha256-nxvSTyNZ35DqjR41nM5uidWwRFWzd1e/LFE0n3fpbb8=";
})
];
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
outputMan = "out"; # it's tiny outputMan = "out"; # it's tiny