fontforge: enable Carbon which is required on OSX

This commit is contained in:
Dmitry Kalinkin
2016-09-03 23:38:23 -04:00
parent 8d977ead38
commit 810787238d
2 changed files with 4 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
python freetype zlib glib libungif libpng libjpeg libtiff libxml2
]
++ lib.optionals withGTK [ gtk2 pango ]
++ lib.optionals (withGTK && stdenv.isDarwin) [ Carbon Cocoa ];
++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ];
configureFlags =
lib.optionals (!withPython) [ "--disable-python-scripting" "--disable-python-extension" ]