at master 19 lines 340 B view raw
1{ 2 lib, 3 buildBatExtrasPkg, 4 less, 5 coreutils, 6 gitMinimal, 7 delta, 8 withDelta ? true, 9}: 10buildBatExtrasPkg { 11 name = "batdiff"; 12 dependencies = [ 13 less 14 coreutils 15 gitMinimal 16 ] 17 ++ lib.optional withDelta delta; 18 meta.description = "Diff a file against the current git index, or display the diff between two files"; 19}