From 365f5466febd9b55856e679c59f84ae2f2fa0ce1 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Sat, 11 Apr 2026 02:36:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A6=86=E7=9B=96=20catppuccin/nix=20?= =?UTF-8?q?=E7=9A=84=20nvim=20=E5=8C=85=E8=B7=B3=E8=BF=87=20detect=5Finteg?= =?UTF-8?q?rations=20require=20check=EF=BC=8C=E5=85=A8=E9=87=8F=E5=90=AF?= =?UTF-8?q?=E7=94=A8=20catppuccin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/dev/neovim.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home/dev/neovim.nix b/home/dev/neovim.nix index e67185e..ba67c3a 100644 --- a/home/dev/neovim.nix +++ b/home/dev/neovim.nix @@ -1,6 +1,16 @@ -{ ... }: +{ inputs, pkgs, ... }: { + # catppuccin/nix's nvim package is missing nvimSkipModule for detect_integrations + # Override with higher priority than mkDefault to fix require check failure + catppuccin.sources.nvim = + (inputs.catppuccin.packages.${pkgs.stdenv.hostPlatform.system}.nvim).overrideAttrs + (old: { + nvimSkipModule = (old.nvimSkipModule or [ ]) ++ [ + "catppuccin.lib.detect_integrations" + ]; + }); + programs.neovim = { enable = true; defaultEditor = true;