3
0
Fork 0
forked from mirrors/nixpkgs

diffoscope: fix manpage generation

Was already broken, not sure for how long.

Without this the tool fails to run,
so help2man ends up producing an empty file.
This commit is contained in:
Will Dietz 2018-07-18 16:36:15 -05:00 committed by Tuomas Tynkkynen
parent dc29207e93
commit 0a46f8c198

View file

@ -23,6 +23,9 @@ python3Packages.buildPythonApplication rec {
postPatch = ''
# Upstream doesn't provide a PKG-INFO file
sed -i setup.py -e "/'rpm-python',/d"
# When generating manpage, use the installed version
substituteInPlace doc/Makefile --replace "../bin" "$out/bin"
'';
nativeBuildInputs = [ docutils help2man ];