overlays: use final/prev instead of self/super

This commit is contained in:
Casper V. Kristensen 2024-09-29 21:31:51 +02:00
parent ec76c147b6
commit 17ae962b1c

View file

@ -9,10 +9,10 @@
imports = ["${home-manager-unstable}/modules/programs/neovim.nix"]; imports = ["${home-manager-unstable}/modules/programs/neovim.nix"];
}; };
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (final: prev: {
# Home-manager uses the neovim-unwrapped package for the neovim module # Home-manager uses the neovim-unwrapped package for the neovim module
neovim-unwrapped = nixpkgs-unstable.legacyPackages.${super.system}.neovim-unwrapped; neovim-unwrapped = nixpkgs-unstable.legacyPackages.${prev.system}.neovim-unwrapped;
vimPlugins = nixpkgs-unstable.legacyPackages.${super.system}.vimPlugins; vimPlugins = nixpkgs-unstable.legacyPackages.${prev.system}.vimPlugins;
}) })
]; ];
} }