diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-05-01 20:33:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-05-01 20:33:00 -0500 |
commit | ab92ec63d29361d8632d89d318d915d974f40c54 (patch) | |
tree | 0083b6e71a31545f1a166d0679f05f4ad1f44875 /pkgs/tools/misc/zoxide | |
parent | c116c5f89ff8d8825505f1b6c40856c0c717c6f8 (diff) | |
download | nixpkgs-ab92ec63d29361d8632d89d318d915d974f40c54.tar nixpkgs-ab92ec63d29361d8632d89d318d915d974f40c54.tar.gz nixpkgs-ab92ec63d29361d8632d89d318d915d974f40c54.tar.bz2 nixpkgs-ab92ec63d29361d8632d89d318d915d974f40c54.tar.lz nixpkgs-ab92ec63d29361d8632d89d318d915d974f40c54.tar.xz nixpkgs-ab92ec63d29361d8632d89d318d915d974f40c54.tar.zst nixpkgs-ab92ec63d29361d8632d89d318d915d974f40c54.zip |
zoxide: install manpages
Diffstat (limited to 'pkgs/tools/misc/zoxide')
-rw-r--r-- | pkgs/tools/misc/zoxide/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/tools/misc/zoxide/default.nix b/pkgs/tools/misc/zoxide/default.nix index 82ddca10a63..30b9c496900 100644 --- a/pkgs/tools/misc/zoxide/default.nix +++ b/pkgs/tools/misc/zoxide/default.nix @@ -4,6 +4,7 @@ , rustPlatform , withFzf ? true , fzf +, installShellFiles , libiconv }: @@ -18,6 +19,8 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-yunKyCjJ/vWUcsodweLmxv0+QJQI2i5u5VIzp2U+VyU="; }; + nativeBuildInputs = [ installShellFiles ]; + buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; postPatch = lib.optionalString withFzf '' @@ -27,9 +30,14 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-eoal6z4wX1pNdAJfdamJgOSFCvGWdbVlq1X+vD9lraE="; + postInstall = '' + installManPage man/* + ''; + meta = with lib; { description = "A fast cd command that learns your habits"; homepage = "https://github.com/ajeetdsouza/zoxide"; + changelog = "https://github.com/ajeetdsouza/zoxide/raw/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; maintainers = with maintainers; [ ysndr cole-h SuperSandro2000 ]; }; |