diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-10-08 14:09:18 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-10-08 14:13:14 +0200 |
commit | 661e5a8f1abe1ee3342526646238a5ec0bfdc581 (patch) | |
tree | 6c70a6259096cf672d3bd46be750496e193ea0d9 /pkgs/tools/typesetting/asciidoc | |
parent | 206650813118dc3b6f008fc03284abeeed2a953a (diff) | |
download | nixpkgs-661e5a8f1abe1ee3342526646238a5ec0bfdc581.tar nixpkgs-661e5a8f1abe1ee3342526646238a5ec0bfdc581.tar.gz nixpkgs-661e5a8f1abe1ee3342526646238a5ec0bfdc581.tar.bz2 nixpkgs-661e5a8f1abe1ee3342526646238a5ec0bfdc581.tar.lz nixpkgs-661e5a8f1abe1ee3342526646238a5ec0bfdc581.tar.xz nixpkgs-661e5a8f1abe1ee3342526646238a5ec0bfdc581.tar.zst nixpkgs-661e5a8f1abe1ee3342526646238a5ec0bfdc581.zip |
asciidocFull: add missing sed + coreutils for a2x wrapper
When making a PDF file I got an error because dblatex couldn't find sed/uname/mkdir etc. This fixes it.
Diffstat (limited to 'pkgs/tools/typesetting/asciidoc')
-rw-r--r-- | pkgs/tools/typesetting/asciidoc/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/tools/typesetting/asciidoc/default.nix b/pkgs/tools/typesetting/asciidoc/default.nix index cd3e651801f..aeeaf04e7ba 100644 --- a/pkgs/tools/typesetting/asciidoc/default.nix +++ b/pkgs/tools/typesetting/asciidoc/default.nix @@ -19,6 +19,8 @@ , fop ? null # TODO: Package this: #, epubcheck ? null +, gnused ? null +, coreutils ? null , unzip ? null # filters @@ -49,9 +51,11 @@ assert enableStandardFeatures -> docbook_xml_dtd_45 != null && docbook5_xsl != null && docbook_xsl != null && - fop != null; + fop != null && # TODO: Package this: -# epubcheck != null; +# epubcheck != null && + gnused != null && + coreutils != null; # filters assert (enableDitaaFilter || enableMscgenFilter || enableDiagFilter || enableQrcodeFilter || enableAafigureFilter) -> unzip != null; @@ -218,7 +222,7 @@ stdenv.mkDerivation rec { # use it to work around an impurity in the tetex package; tetex tools # cannot find their neighbours (e.g. pdflatex doesn't find mktextfm). # We can remove PATH= when those impurities are fixed. - sed -e "s|^ENV =.*|ENV = dict(XML_CATALOG_FILES='${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml ${docbook5_xsl}/xml/xsl/docbook/catalog.xml ${docbook_xsl}/xml/xsl/docbook/catalog.xml', PATH='${tetex}/bin')|" \ + sed -e "s|^ENV =.*|ENV = dict(XML_CATALOG_FILES='${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml ${docbook5_xsl}/xml/xsl/docbook/catalog.xml ${docbook_xsl}/xml/xsl/docbook/catalog.xml', PATH='${tetex}/bin:${coreutils}/bin:${gnused}/bin')|" \ -e "s|^ASCIIDOC =.*|ASCIIDOC = '$out/bin/asciidoc'|" \ -e "s|^XSLTPROC =.*|XSLTPROC = '${libxslt}/bin/xsltproc'|" \ -e "s|^DBLATEX =.*|DBLATEX = '${dblatexFull}/bin/dblatex'|" \ |