patchutils: add man pages

This commit is contained in:
Profpatsch 2023-11-29 14:43:12 +01:00
parent dab5c7b167
commit 4dae8d7016

View File

@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
inherit sha256;
};
outputs = [ "man" "out" ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl ] ++ extraBuildInputs;
hardeningDisable = [ "format" ];
@ -23,6 +25,9 @@ stdenv.mkDerivation rec {
wrapProgram "$bin" \
--prefix PATH : "$out/bin"
done
mkdir -p $man/share/man/man1
cp doc/*.1 $man/share/man/man1
'';
doCheck = lib.versionAtLeast version "0.3.4";