diff options
author | Peter Simons <simons@cryp.to> | 2009-10-19 09:17:21 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2009-10-19 09:17:21 +0000 |
commit | 61882544d88c21c3c7c6960d775cede51dfcb11b (patch) | |
tree | 4e190be4d98a2a8d6b9549797027adb476a7b6e2 /pkgs/tools/typesetting/docbook2x | |
parent | 1e575d357262ebac561d41042b699342c8aa0fd8 (diff) |
Docbook2x needs libiconv to build successfully on Darwin.
svn path=/nixpkgs/trunk/; revision=17871
Diffstat (limited to 'pkgs/tools/typesetting/docbook2x')
-rw-r--r-- | pkgs/tools/typesetting/docbook2x/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/typesetting/docbook2x/default.nix b/pkgs/tools/typesetting/docbook2x/default.nix index 72e528a5ed1e9..c02471d3e5152 100644 --- a/pkgs/tools/typesetting/docbook2x/default.nix +++ b/pkgs/tools/typesetting/docbook2x/default.nix @@ -1,6 +1,6 @@ { fetchurl, stdenv, texinfo, perl , XMLSAX, XMLParser, XMLNamespaceSupport -, groff, libxml2, libxslt, gnused +, groff, libxml2, libxslt, gnused, libiconv , makeWrapper }: stdenv.mkDerivation rec { @@ -15,7 +15,8 @@ stdenv.mkDerivation rec { patches = [ ./db2x_texixml-to-stdout.patch ]; buildInputs = [ perl texinfo groff libxml2 libxslt makeWrapper - XMLSAX XMLParser XMLNamespaceSupport ]; + XMLSAX XMLParser XMLNamespaceSupport + ] ++ (if libiconv != null then [libiconv] else []); postConfigure = '' # Broken substitution is used for `perl/config.pl', which leaves literal |