bat-extras.batman: Add new dependency (util-linux)

This commit is contained in:
Dennis Hoppe 2022-04-24 11:08:25 +02:00 committed by GitHub
parent 65bceb3aa8
commit 7f9e285f54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,8 @@
# batdiff # batdiff
, gitMinimal , gitMinimal
, withDelta ? delta != null, delta ? null , withDelta ? delta != null, delta ? null
# batman
, util-linux
}: }:
let let
@ -136,7 +138,7 @@ in
{ {
batdiff = script "batdiff" ([ less coreutils gitMinimal ] ++ optionalDep withDelta delta); batdiff = script "batdiff" ([ less coreutils gitMinimal ] ++ optionalDep withDelta delta);
batgrep = script "batgrep" [ less coreutils ripgrep ]; batgrep = script "batgrep" [ less coreutils ripgrep ];
batman = script "batman" []; batman = script "batman" [ util-linux ];
batwatch = script "batwatch" ([ less coreutils ] ++ optionalDep withEntr entr); batwatch = script "batwatch" ([ less coreutils ] ++ optionalDep withEntr entr);
prettybat = script "prettybat" ([] prettybat = script "prettybat" ([]
++ optionalDep withShFmt shfmt ++ optionalDep withShFmt shfmt