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

27 lines
463 B
Nix

{
lib,
stdenv,
buildBatExtrasPkg,
less,
procps,
}:
buildBatExtrasPkg {
name = "batpipe";
dependencies = [
less
procps
];
shellInit = {
flags = [ ];
};
patches = [
../patches/batpipe-skip-outdated-test.patch
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
../patches/batpipe-skip-detection-tests.patch
];
meta.description = "Less (and soon bat) preprocessor for viewing more types of files in the terminal";
}