lsd: build man page

main
Sandro Jäckel 2 years ago
parent 9d15d4620b
commit d78a72b7d4
No known key found for this signature in database
GPG Key ID: B1763F8651144063
  1. 6
      pkgs/tools/misc/lsd/default.nix

@ -2,6 +2,7 @@
, fetchFromGitHub
, rustPlatform
, installShellFiles
, pandoc
, testers
, lsd
}:
@ -19,8 +20,11 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-P0HJVp2ReJuLSZrArw/EAfLFDOZqswI0nD1SCHwegoE=";
nativeBuildInputs = [ installShellFiles ];
nativeBuildInputs = [ installShellFiles pandoc ];
postInstall = ''
pandoc --standalone --to man doc/lsd.md -o lsd.1
installManPage lsd.1
installShellCompletion $releaseDir/build/lsd-*/out/{_lsd,lsd.{bash,fish}}
'';

Loading…
Cancel
Save