lsof: fix man page

This commit is contained in:
Mario Rodas 2019-09-28 19:19:19 -05:00
parent afbb73ee71
commit 956546e20b
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
# Fix references from man page https://github.com/lsof-org/lsof/issues/66
substituteInPlace Lsof.8 \
--replace ".so ./00DIALECTS" "" \
--replace ".so ./version" ".ds VN ${version}"
mkdir -p $out/bin $out/man/man8
cp Lsof.8 $out/man/man8/lsof.8
cp lsof $out/bin