tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bat: add completion patch
zowoq
3 years ago
d97726bb
363980f9
+11
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
bat
default.nix
+11
pkgs/tools/misc/bat/default.nix
···
8
8
, libiconv
9
9
, installShellFiles
10
10
, makeWrapper
11
11
+
, fetchpatch
11
12
}:
12
13
13
14
rustPlatform.buildRustPackage rec {
···
21
22
sha256 = "sha256-xkGGnWjuZ5ZR4Ll+JwgWyKZFboFZ6HKA8GviR3YBAnM=";
22
23
};
23
24
cargoSha256 = "sha256-ye6GH4pcI9h1CNpobUzfJ+2WlqJ98saCdD77AtSGafg=";
25
25
+
26
26
+
cargoPatches = [
27
27
+
# merged upstream in https://github.com/sharkdp/bat/pull/2399
28
28
+
(fetchpatch {
29
29
+
name = "disable-completion-of-cache-subcommand.patch";
30
30
+
url = "https://github.com/sharkdp/bat/commit/b6b9d3a629bd9b08725df2a4e7b92c3023584a89.patch";
31
31
+
hash = "sha256-G4LajO09+qfhpr+HRvAHCuE9EETit2e16ZEyAtz26B4=";
32
32
+
excludes = [ "CHANGELOG.md" ];
33
33
+
})
34
34
+
];
24
35
25
36
nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ];
26
37