Files
Alex Libman c61c7418d0 bat: genericize shell init for bat-extras packages
Moves shell init logic specific to bat-extras packages into the
extras packages themselves. The bat package itself is now only
reponsible for registering the bat-extras shell inits. Also uses finalAttrs.finalPackage to correctly handle overlays on bat-extra packages.
2026-03-29 22:40:18 -04:00

15 lines
317 B
Nix

{
lib,
stdenv,
buildBatExtrasPkg,
util-linux,
}:
buildBatExtrasPkg {
name = "batman";
dependencies = lib.optional stdenv.targetPlatform.isLinux util-linux;
shellInit = {
flags = [ "--export-env" ];
};
meta.description = "Read system manual pages (man) using bat as the manual page formatter";
}