3
0
Fork 0
forked from mirrors/nixpkgs

miniserve: add manpage

This commit is contained in:
LeixB 2022-04-19 13:01:51 +02:00
parent f8ac590609
commit 6a5bf9d686
No known key found for this signature in database
GPG key ID: FC035BB2BB28E15D

View file

@ -39,6 +39,9 @@ rustPlatform.buildRustPackage rec {
];
postInstall = ''
$out/bin/miniserve --print-manpage >miniserve.1
installManPage miniserve.1
installShellCompletion --cmd miniserve \
--bash <($out/bin/miniserve --print-completions bash) \
--fish <($out/bin/miniserve --print-completions fish) \