glab: install manpage

This commit is contained in:
Mario Rodas 2023-09-13 04:20:00 +00:00
parent 7e81eaf9f4
commit 7e45ae85d3

View File

@ -29,6 +29,8 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
make manpage
installManPage share/man/man1/*
installShellCompletion --cmd glab \
--bash <($out/bin/glab completion -s bash) \
--fish <($out/bin/glab completion -s fish) \