overlays: Update ripgrep to 14.0.3

Fixes an issue with fish completions in ripgrep 14.0.1.
This commit is contained in:
Donovan Glover 2023-11-30 23:01:33 -05:00
parent 56da65f34a
commit 59ec861754
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 23 additions and 0 deletions

View File

@ -2,6 +2,7 @@
imports = [
./alejandra.nix
./eza.nix
./ripgrep.nix
./zola.nix
];
}

22
overlays/ripgrep.nix Normal file
View File

@ -0,0 +1,22 @@
{
nixpkgs.overlays = [
(final: prev: {
ripgrep = prev.ripgrep.overrideAttrs (oldAttrs: rec {
version = "14.0.3";
src = prev.fetchFromGitHub {
owner = "BurntSushi";
repo = "ripgrep";
rev = version;
hash = "sha256-NBGbiy+1AUIBJFx6kcGPSKo08a+dkNo4rNH2I1pki4U=";
};
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
name = "ripgrep-vendor.tar.gz";
inherit src;
outputHash = "sha256-ptWXv4MKM3M4KcFqI0v9LScMBRHkwzvDOVbLxyJtHFU=";
});
});
})
];
}