mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
Merge pull request #46418 from danieldk/cgit-fix-man2html
cgit: use full path of groff in man2html
This commit is contained in:
commit
c60ba3c848
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt
|
{ stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt
|
||||||
, docbook_xsl, pkgconfig, luajit
|
, docbook_xsl, pkgconfig, luajit
|
||||||
, gzip, bzip2, xz
|
, groff, gzip, bzip2, xz
|
||||||
, python, wrapPython, pygments, markdown
|
, python, wrapPython, pygments, markdown
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -32,6 +32,9 @@ stdenv.mkDerivation rec {
|
||||||
-e 's|"bzip2"|"${bzip2.bin}/bin/bzip2"|' \
|
-e 's|"bzip2"|"${bzip2.bin}/bin/bzip2"|' \
|
||||||
-e 's|"xz"|"${xz.bin}/bin/xz"|' \
|
-e 's|"xz"|"${xz.bin}/bin/xz"|' \
|
||||||
-i ui-snapshot.c
|
-i ui-snapshot.c
|
||||||
|
|
||||||
|
substituteInPlace filters/html-converters/man2html \
|
||||||
|
--replace 'groff' '${groff}/bin/groff'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Give cgit a git source tree and pass configuration parameters (as make
|
# Give cgit a git source tree and pass configuration parameters (as make
|
||||||
|
|
Loading…
Reference in a new issue