mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-25 15:18:38 +01:00
23 lines
590 B
Nix
23 lines
590 B
Nix
|
{
|
||
|
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=";
|
||
|
});
|
||
|
});
|
||
|
})
|
||
|
];
|
||
|
}
|