From 7dbe7a08b332e82f9d3f9a8f26ca9a6f0b2777aa Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 8 Jan 2025 21:13:09 +0300 Subject: [PATCH] wrapper/build: disable failing require hook checks for flutter-tools --- modules/plugins/languages/dart.nix | 1 - modules/wrapper/build/config.nix | 11 +++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/plugins/languages/dart.nix b/modules/plugins/languages/dart.nix index ee069a7d..e2b3182e 100644 --- a/modules/plugins/languages/dart.nix +++ b/modules/plugins/languages/dart.nix @@ -130,7 +130,6 @@ in { (mkIf cfg.lsp.enable { vim.lsp.lspconfig.enable = true; - vim.lsp.lspconfig.sources.dart-lsp = servers.${cfg.lsp.server}.lspConfig; }) diff --git a/modules/wrapper/build/config.nix b/modules/wrapper/build/config.nix index ee5b4fda..46d99b36 100644 --- a/modules/wrapper/build/config.nix +++ b/modules/wrapper/build/config.nix @@ -49,6 +49,17 @@ flutter-tools-patched = buildPlug { pname = "flutter-tools"; patches = [./patches/flutter-tools.patch]; + + # Disable failing require check hook checks + nvimSkipModule = [ + "flutter-tools.devices" + "flutter-tools.dap" + "flutter-tools.runners.job_runner" + "flutter-tools.decorations" + "flutter-tools.commands" + "flutter-tools.executable" + "flutter-tools.dev_tools" + ]; }; };