1

Modules/Neovim: Move temporary neovide override to flake (so I don't forget to remove it)

This commit is contained in:
2025-07-21 01:57:57 +02:00
parent 9b83f10365
commit f1c9ba7318
2 changed files with 19 additions and 17 deletions

View File

@ -117,6 +117,24 @@
# };
# })
# TODO: Remove this after 0.15.1 hit nixpkgs
(final: prev: {
neovide = prev.neovide.overrideAttrs (finalAttrs: prevAttrs: {
version = "0.15.1";
src = prev.fetchFromGitHub {
owner = "neovide";
repo = "neovide";
tag = finalAttrs.version;
hash = "sha256-2iV3g6tcCkMF7sFG/GZDz3czPZNIDi6YLfrVzYO9jYI=";
};
cargoHash = "sha256-YlHAcUCRk6ROg5yXIumHfsiR/2TrsSzbuXz/IQK7sEo=";
cargoDeps = prev.rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname src version;
hash = finalAttrs.cargoHash;
};
});
})
# All my own overlays
(import ./overlays {inherit nixpkgs inputs;})
];

View File

@ -25,23 +25,7 @@ in {
packages = with pkgs;
builtins.concatLists [
(lib.optionals neovim.neovide [
# TODO: Remove this after 0.15.1 hit nixpkgs
(neovide.overrideAttrs (finalAttrs: prevAttrs: {
version = "0.15.1";
src = fetchFromGitHub {
owner = "neovide";
repo = "neovide";
tag = finalAttrs.version;
hash = "sha256-2iV3g6tcCkMF7sFG/GZDz3czPZNIDi6YLfrVzYO9jYI=";
};
cargoHash = "sha256-YlHAcUCRk6ROg5yXIumHfsiR/2TrsSzbuXz/IQK7sEo=";
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname src version;
hash = finalAttrs.cargoHash;
};
}))
])
(lib.optionals neovim.neovide [neovide])
[
(pkgs.ripgrep.override {withPCRE2 = true;})