Skip to content

Commit

Permalink
bat: add meta.mainProgram
Browse files Browse the repository at this point in the history
Follow up of #246386
  • Loading branch information
drupol committed Aug 3, 2023
1 parent d85f641 commit 01b647a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/tools/misc/bat/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {

src = fetchFromGitHub {
owner = "sharkdp";
repo = pname;
repo = "bat";
rev = "v${version}";
hash = "sha256-cGHxB3Wp8yEcJBMtSOec6l7iBsMLhUtJ7nh5fijnWZs=";
};
Expand Down Expand Up @@ -58,6 +58,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/sharkdp/bat";
changelog = "https://github.com/sharkdp/bat/raw/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 /* or */ mit ];
mainProgram = "bat";
maintainers = with maintainers; [ dywedir lilyball zowoq SuperSandro2000 ];
};
}

0 comments on commit 01b647a

Please sign in to comment.