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.
wip/yesman
Will Dietz 6 years ago committed by Tuomas Tynkkynen
parent dc29207e93
commit 0a46f8c198
  1. 3
      pkgs/tools/misc/diffoscope/default.nix

@ -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 ];

Loading…
Cancel
Save