Skip to content

Commit

Permalink
imagemagick: fix build on Darwin
Browse files Browse the repository at this point in the history
(cherry picked from commit 4aa45b3)
  • Loading branch information
dotlambda committed Nov 12, 2024
1 parent 84cfb3e commit f6e74a6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/applications/graphics/ImageMagick/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch2
, pkg-config
, libtool
, bzip2Support ? true, bzip2
Expand Down Expand Up @@ -60,6 +61,13 @@ stdenv.mkDerivation (finalAttrs: {
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
outputMan = "out"; # it's tiny

Expand Down

0 comments on commit f6e74a6

Please sign in to comment.