mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
zellij: add manpage
Add manpage to the `zellij` package.
This commit is contained in:
parent
3ff1b20af8
commit
7e0169e26d
@ -8,6 +8,7 @@
|
|||||||
, openssl
|
, openssl
|
||||||
, DiskArbitration
|
, DiskArbitration
|
||||||
, Foundation
|
, Foundation
|
||||||
|
, mandown
|
||||||
, zellij
|
, zellij
|
||||||
, testVersion
|
, testVersion
|
||||||
}:
|
}:
|
||||||
@ -26,6 +27,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
cargoSha256 = "sha256-2QEDrxTz7I9hF+WfVKkGLXHWZjQ5by/zuO16NGOJSKk=";
|
cargoSha256 = "sha256-2QEDrxTz7I9hF+WfVKkGLXHWZjQ5by/zuO16NGOJSKk=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
mandown
|
||||||
installShellFiles
|
installShellFiles
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
@ -43,6 +45,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
mandown docs/MANPAGE.md > zellij.1
|
||||||
|
installManPage zellij.1
|
||||||
|
|
||||||
installShellCompletion --cmd $pname \
|
installShellCompletion --cmd $pname \
|
||||||
--bash <($out/bin/zellij setup --generate-completion bash) \
|
--bash <($out/bin/zellij setup --generate-completion bash) \
|
||||||
--fish <($out/bin/zellij setup --generate-completion fish) \
|
--fish <($out/bin/zellij setup --generate-completion fish) \
|
||||||
|
Loading…
Reference in New Issue
Block a user