From 9b0890cfa536ffbe5978a94ec7f6cb7e23947732 Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Thu, 7 Apr 2016 18:19:01 -0400 Subject: [PATCH] graphviz: build with pango even without xorg The pango dependency enables outputting PDF files, and is somewhat independent of the larger xorg dependencies. --- pkgs/tools/graphics/graphviz/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix index 5635e3a69ff7..66f36a6f63c9 100644 --- a/pkgs/tools/graphics/graphviz/default.nix +++ b/pkgs/tools/graphics/graphviz/default.nix @@ -21,8 +21,8 @@ stdenv.mkDerivation rec { ]; buildInputs = - [ pkgconfig libpng libjpeg expat yacc libtool fontconfig gd gts libdevil flex - ] ++ stdenv.lib.optionals (xorg != null) [ xorg.xlibsWrapper xorg.libXrender pango libXaw ] + [ pkgconfig libpng libjpeg expat yacc libtool fontconfig gd gts libdevil flex pango + ] ++ stdenv.lib.optionals (xorg != null) [ xorg.xlibsWrapper xorg.libXrender libXaw ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") gettext; CPPFLAGS = stdenv.lib.optionalString (xorg != null && stdenv.system == "x86_64-darwin")