diff options
author | lewo <lewo@abesis.fr> | 2019-10-10 20:49:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-10 20:49:42 +0200 |
commit | 072edcbe3795b0d53e23128eb64eaabca5cdadf5 (patch) | |
tree | 54dfe00e6508a84e8cb14a9a2c083550bc3655c4 /pkgs/tools | |
parent | 668a8aa81158e2e2cb331f5f634faaa173094440 (diff) | |
parent | dd61ba0812fe53ae5fee2cf1b8e2dc7f28902e3f (diff) |
Merge pull request #70585 from lilyball/bat-updates
bat: update dependencies
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/bat/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/misc/bat/default.nix b/pkgs/tools/misc/bat/default.nix index 449be0f017f62..6b62ca247cb0f 100644 --- a/pkgs/tools/misc/bat/default.nix +++ b/pkgs/tools/misc/bat/default.nix @@ -1,5 +1,5 @@ -{ stdenv, rustPlatform, fetchFromGitHub, llvmPackages, pkgconfig, zlib -, Security, libiconv +{ stdenv, rustPlatform, fetchFromGitHub, llvmPackages, pkgconfig +, Security, libiconv, installShellFiles }: rustPlatform.buildRustPackage rec { @@ -16,15 +16,15 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "0d7h0kn41w6wm4w63vjy2i7r19jkansfvfjn7vgh2gqh5m60kal2"; - nativeBuildInputs = [ pkgconfig llvmPackages.libclang zlib ]; + nativeBuildInputs = [ pkgconfig llvmPackages.libclang installShellFiles ]; buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security libiconv ]; LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; postInstall = '' - install -m 444 -Dt $out/share/man/man1 doc/bat.1 - install -m 444 -Dt $out/share/fish/vendor_completions.d assets/completions/bat.fish + installManPage doc/bat.1 + installShellCompletion assets/completions/bat.fish ''; meta = with stdenv.lib; { |