diff options
author | Spencer Whitt <sw@swhitt.me> | 2015-03-31 21:49:45 -0400 |
---|---|---|
committer | Spencer Whitt <sw@swhitt.me> | 2015-04-01 17:00:04 -0400 |
commit | 2f63e26d040dca257b6d6ed0a5f3d1ef7a43773c (patch) | |
tree | c98e5f2950443e4c38c29a3fbd17ea47d8a5d93c /pkgs/tools/misc/fontforge | |
parent | 0253cf06c06dfdb919a2c49e084349852faf8234 (diff) | |
download | nixpkgs-2f63e26d040dca257b6d6ed0a5f3d1ef7a43773c.tar nixpkgs-2f63e26d040dca257b6d6ed0a5f3d1ef7a43773c.tar.gz nixpkgs-2f63e26d040dca257b6d6ed0a5f3d1ef7a43773c.tar.bz2 nixpkgs-2f63e26d040dca257b6d6ed0a5f3d1ef7a43773c.tar.lz nixpkgs-2f63e26d040dca257b6d6ed0a5f3d1ef7a43773c.tar.xz nixpkgs-2f63e26d040dca257b6d6ed0a5f3d1ef7a43773c.tar.zst nixpkgs-2f63e26d040dca257b6d6ed0a5f3d1ef7a43773c.zip |
fontforge: fix Darwin build
Diffstat (limited to 'pkgs/tools/misc/fontforge')
-rw-r--r-- | pkgs/tools/misc/fontforge/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/misc/fontforge/default.nix b/pkgs/tools/misc/fontforge/default.nix index e166d2e93c9..886495a27eb 100644 --- a/pkgs/tools/misc/fontforge/default.nix +++ b/pkgs/tools/misc/fontforge/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, fetchpatch, lib , autoconf, automake, gnum4, libtool, git, perl, gnulib, uthash, pkgconfig, gettext -, python, freetype, zlib, glib, libungif, libpng, libjpeg, libtiff, libxml2 +, python, freetype, zlib, glib, libungif, libpng, libjpeg, libtiff, libxml2, pango , withGTK ? false, gtk2 , withPython ? false # python-scripting was breaking inconsolata and libertine builds }: @@ -30,7 +30,9 @@ stdenv.mkDerivation { git autoconf automake gnum4 libtool perl pkgconfig gettext uthash python freetype zlib glib libungif libpng libjpeg libtiff libxml2 ] - ++ lib.optionals withGTK [ gtk2 ]; + ++ lib.optionals withGTK [ gtk2 ] + # I'm not sure why pango doesn't seem necessary on Linux + ++ lib.optionals stdenv.isDarwin [ pango ]; configureFlags = lib.optionals (!withPython) [ "--disable-python-scripting" "--disable-python-extension" ] |