@@ -8,6 +8,7 @@
88, openssl
99, DiskArbitration
1010, Foundation
11+, mandown
1112, zellij
1213, testVersion
1314}:
@@ -26,6 +27,7 @@ rustPlatform.buildRustPackage rec {
2627 cargoSha256 = "sha256-2QEDrxTz7I9hF+WfVKkGLXHWZjQ5by/zuO16NGOJSKk=";
2728
2829 nativeBuildInputs = [
30+ mandown
2931 installShellFiles
3032 pkg-config
3133 ];
@@ -43,6 +45,9 @@ rustPlatform.buildRustPackage rec {
4345 '';
4446
4547 postInstall = ''
48+ mandown docs/MANPAGE.md > zellij.1
49+ installManPage zellij.1
50+
4651 installShellCompletion --cmd $pname \
4752 --bash <($out/bin/zellij setup --generate-completion bash) \
4853 --fish <($out/bin/zellij setup --generate-completion fish) \