Removed Xrender from cairo and add fontconfig to pango on Darwin: this fixes the compilation of graphviz and imagemagick on these platforms
This commit is contained in:
parent
23c78e41db
commit
ccb2c7ebb7
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig x11 fontconfig xlibs.libXrender ]
|
[ pkgconfig x11 fontconfig ]
|
||||||
|
++ stdenv.lib.optional (!stdenv.isDarwin) xlibs.libXrender
|
||||||
++ stdenv.lib.optionals xcbSupport [ libxcb xcbutil ]
|
++ stdenv.lib.optionals xcbSupport [ libxcb xcbutil ]
|
||||||
|
|
||||||
# On non-GNU systems we need GNU Gettext for libintl.
|
# On non-GNU systems we need GNU Gettext for libintl.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
|
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng, fontconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pango-1.30.1";
|
name = "pango-1.30.1";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "3a8c061e143c272ddcd5467b3567e970cfbb64d1d1600a8f8e62435556220cbe";
|
sha256 = "3a8c061e143c272ddcd5467b3567e970cfbb64d1d1600a8f8e62435556220cbe";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin gettext;
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ gettext fontconfig ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user