mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
patchutils: add man pages
This commit is contained in:
parent
dab5c7b167
commit
4dae8d7016
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user