mirror of
https://github.com/youwen5/nixos.git
synced 2025-02-22 03:31:11 -08:00
fixup! fix: use zoxide 0.9.7 if nushell newer than 0.102.0
This commit is contained in:
parent
e46763d86d
commit
a1bac45bd3
1 changed files with 16 additions and 9 deletions
|
@ -96,15 +96,22 @@ in
|
||||||
then
|
then
|
||||||
pkgs.zoxide
|
pkgs.zoxide
|
||||||
else
|
else
|
||||||
pkgs.zoxide.overrideAttrs (finalAttrs: {
|
pkgs.zoxide.overrideAttrs (
|
||||||
version = "0.9.7";
|
finalAttrs: prevAttrs: {
|
||||||
src = pkgs.fetchFromGitHub {
|
version = "0.9.7";
|
||||||
owner = "ajeetdsouza";
|
src = pkgs.fetchFromGitHub {
|
||||||
repo = "zoxide";
|
owner = "ajeetdsouza";
|
||||||
rev = "v${finalAttrs.version}";
|
repo = "zoxide";
|
||||||
hash = "sha256-3XC5K4OlituoFMPN9yJkYi+tkH6M0KK5jVAGdr/GLd0=";
|
rev = "v${finalAttrs.version}";
|
||||||
};
|
hash = "sha256-+QZpLMlHOZdbKLFYOUOIRZHvIsbMDdstj9oGzyEGVxk=";
|
||||||
});
|
};
|
||||||
|
|
||||||
|
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
|
||||||
|
inherit (finalAttrs) src;
|
||||||
|
hash = "sha256-uqIL8KTrgWzzzyoPR9gctyh0Rf7WQpTGqXow2/xFvCU=";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gh = {
|
programs.gh = {
|
||||||
|
|
Loading…
Reference in a new issue