mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #195686 from wegank/perceptualdiff-darwin
perceptualdiff: unbreak on aarch64-darwin
This commit is contained in:
commit
f4e7986b5d
@ -1,7 +1,7 @@
|
||||
{ lib, stdenv, fetchsvn, darwin, libtiff
|
||||
, libpng, zlib, libwebp, libraw, openexr, openjpeg
|
||||
, libjpeg, jxrlib, pkg-config
|
||||
, fixDarwinDylibNames }:
|
||||
, fixDarwinDylibNames, autoSignDarwinBinariesHook }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "freeimage";
|
||||
@ -39,6 +39,8 @@ stdenv.mkDerivation {
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.cctools
|
||||
fixDarwinDylibNames
|
||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||
autoSignDarwinBinariesHook
|
||||
];
|
||||
buildInputs = [ libtiff libtiff.dev_private libpng zlib libwebp libraw openexr openjpeg libjpeg libjpeg.dev_private jxrlib ];
|
||||
|
||||
|
@ -20,6 +20,5 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ uri-canva ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.hostPlatform.system == "aarch64-darwin";
|
||||
};
|
||||
}
|
||||
|
@ -18513,6 +18513,7 @@ with pkgs;
|
||||
fplll_20160331 = callPackage ../development/libraries/fplll/20160331.nix {};
|
||||
|
||||
freeimage = callPackage ../development/libraries/freeimage {
|
||||
inherit (darwin) autoSignDarwinBinariesHook;
|
||||
libraw = libraw_unstable;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user