From 17ae962b1c357177749e86e733f3cc2d4ab889c0 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sun, 29 Sep 2024 21:31:51 +0200 Subject: [PATCH] overlays: use final/prev instead of self/super --- overlays/neovim.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/overlays/neovim.nix b/overlays/neovim.nix index 48ac205..8265f20 100644 --- a/overlays/neovim.nix +++ b/overlays/neovim.nix @@ -9,10 +9,10 @@ imports = ["${home-manager-unstable}/modules/programs/neovim.nix"]; }; nixpkgs.overlays = [ - (self: super: { + (final: prev: { # Home-manager uses the neovim-unwrapped package for the neovim module - neovim-unwrapped = nixpkgs-unstable.legacyPackages.${super.system}.neovim-unwrapped; - vimPlugins = nixpkgs-unstable.legacyPackages.${super.system}.vimPlugins; + neovim-unwrapped = nixpkgs-unstable.legacyPackages.${prev.system}.neovim-unwrapped; + vimPlugins = nixpkgs-unstable.legacyPackages.${prev.system}.vimPlugins; }) ]; }