From c580225be681c9953bc78bb53f4144a774440a5e Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 5 Mar 2023 02:31:39 +0900 Subject: fix(home/base): temporary fix for neovim master builds --- home/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'home') diff --git a/home/default.nix b/home/default.nix index 567883b..3004cb3 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,12 +1,18 @@ -{ self, unstable, ... } @ inputs: +{ self, unstable, nixpkgs-neovim-fix, ... } @ inputs: -{ +let # TODO See: https://github.com/neovim/neovim/pull/21711 # TODO See: https://github.com/NixOS/nixpkgs/pull/214231 + neovim-fix = self: super: { + inherit (nixpkgs-neovim-fix.legacyPackages.${super.system}) + neovim neovim-unwrapped; + }; +in +{ "sefidel@alpha" = self.lib.mkHome { username = "sefidel"; hostname = "alpha"; - pkgs = import unstable { system = "x86_64-linux"; overlays = with inputs; [ rust.overlays.default /*neovim.overlay*/ ]; }; + pkgs = import unstable { system = "x86_64-linux"; overlays = with inputs; [ rust.overlays.default neovim-fix neovim.overlay ]; }; extraModules = [ ./profiles/populate.nix @@ -27,7 +33,7 @@ "sefidel@kompakt" = self.lib.mkHome { username = "sefidel"; hostname = "kompakt"; - pkgs = import unstable { system = "aarch64-linux"; overlays = with inputs; [ rust.overlays.default /*neovim.overlay*/ ]; }; + pkgs = import unstable { system = "aarch64-linux"; overlays = with inputs; [ rust.overlays.default neovim-fix neovim.overlay ]; }; extraModules = [ ./profiles/populate.nix -- cgit 1.4.1