From 5cd96de1e4b37114c6e1b4b783c1138be4cae87e Mon Sep 17 00:00:00 2001 From: Stel Abrego Date: Thu, 12 Oct 2023 14:52:49 -0700 Subject: [PATCH] trashy: Generate and install man page --- pkgs/tools/misc/trashy/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/trashy/default.nix b/pkgs/tools/misc/trashy/default.nix index cc985b8f3b35e..a43c01655a6cf 100644 --- a/pkgs/tools/misc/trashy/default.nix +++ b/pkgs/tools/misc/trashy/default.nix @@ -17,7 +17,10 @@ rustPlatform.buildRustPackage rec { installShellCompletion --cmd trash \ --bash <($out/bin/trash completions bash) \ --fish <($out/bin/trash completions fish) \ - --zsh <($out/bin/trash completions zsh) \ + --zsh <($out/bin/trash completions zsh) + $out/bin/trash manpage > trash.1 + cp trash.1 trashy.1 + installManPage trash.1 trashy.1 ''; meta = with lib; {