Merge pull request #69936 from marsam/fix-lsof-manpage
lsof: fix man page
This commit is contained in:
commit
18d612c89b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue