1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

libtiff on darwin: attempt to fix build

This commit is contained in:
Vladimír Čunát 2013-12-25 18:51:35 +01:00
parent 15a5894ab3
commit 28cb01ee89

View file

@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
patch -p0 < "$p"
done
)
patch -p0 < ${patchDir}/*-tiff2pdf-colors.patch
'';
patch -p0 < ${patchDir}/${if stdenv.isDarwin then "tiff-4.0.3" else "*"}-tiff2pdf-colors.patch
''; # ^ sh on darwin seems not to expand globs in redirects, and I don't want to rebuild all again elsewhere
nativeBuildInputs = [ pkgconfig ];