From 4dae8d701695d8a2a8757613626385b9ef1b5b4a Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Wed, 29 Nov 2023 14:43:12 +0100 Subject: [PATCH] patchutils: add man pages --- pkgs/tools/text/patchutils/generic.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/text/patchutils/generic.nix b/pkgs/tools/text/patchutils/generic.nix index d1cd4334e119..aaf656abe408 100644 --- a/pkgs/tools/text/patchutils/generic.nix +++ b/pkgs/tools/text/patchutils/generic.nix @@ -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";