Modules/Neovim: Move temporary neovide override to flake (so I don't forget to remove it)
This commit is contained in:
18
flake.nix
18
flake.nix
@ -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
|
# All my own overlays
|
||||||
(import ./overlays {inherit nixpkgs inputs;})
|
(import ./overlays {inherit nixpkgs inputs;})
|
||||||
];
|
];
|
||||||
|
@ -25,23 +25,7 @@ in {
|
|||||||
|
|
||||||
packages = with pkgs;
|
packages = with pkgs;
|
||||||
builtins.concatLists [
|
builtins.concatLists [
|
||||||
(lib.optionals neovim.neovide [
|
(lib.optionals neovim.neovide [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;
|
|
||||||
};
|
|
||||||
}))
|
|
||||||
])
|
|
||||||
|
|
||||||
[
|
[
|
||||||
(pkgs.ripgrep.override {withPCRE2 = true;})
|
(pkgs.ripgrep.override {withPCRE2 = true;})
|
||||||
|
Reference in New Issue
Block a user