xmlto: add w3m to wrapped PATH
The old method doesn't work any more.
This commit is contained in:
parent
dd2351ee2f
commit
37d485e3f4
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