Merge pull request #197703 from ncfavier/xmlto-w3m
xmlto: add w3m to wrapped PATH
This commit is contained in:
commit
60e9179e56
1 changed files with 2 additions and 5 deletions
|
@ -27,12 +27,9 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [ libxml2 libxslt docbook_xml_dtd_45 docbook_xsl ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/xmlto" \
|
||||
--prefix PATH : "${lib.makeBinPath [ libxslt libxml2 getopt ]}"
|
||||
|
||||
# `w3m' is needed for HTML to text conversions.
|
||||
substituteInPlace "$out/share/xmlto/format/docbook/txt" \
|
||||
--replace "/usr/bin/w3m" "${w3m}/bin/w3m"
|
||||
wrapProgram "$out/bin/xmlto" \
|
||||
--prefix PATH : "${lib.makeBinPath [ libxslt libxml2 getopt w3m ]}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue