From f612173ddb8c639e873de322c357063b6ae6a2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Wed, 27 Sep 2023 13:13:05 +0200 Subject: [PATCH] fix(nvim): bump nvim-lspconfig --- flake.nix | 3 +++ overlays/vimPlugins.nix | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index 34a44a8..8999b11 100644 --- a/flake.nix +++ b/flake.nix @@ -54,6 +54,9 @@ nvim-puppeteer.flake = false; nvim-puppeteer.url = "github:chrisgrieser/nvim-puppeteer"; + nvim-lspconfig.flake = false; + nvim-lspconfig.url = "github:neovim/nvim-lspconfig"; + # Hyprland hypr-contrib.url = "github:hyprwm/contrib"; hyprland.url = "github:hyprwm/Hyprland"; diff --git a/overlays/vimPlugins.nix b/overlays/vimPlugins.nix index cc219b9..9794b9a 100644 --- a/overlays/vimPlugins.nix +++ b/overlays/vimPlugins.nix @@ -38,6 +38,12 @@ with lib.my; src = inputs.nvim-treesitter; }); + # HACK: to fix error in nixpkgs version of nvim-lspconfig + nvim-lspconfig = prev.vimPlugins.nvim-lspconfig.overrideAttrs (_: { + version = mkVersionInput inputs.nvim-lspconfig; + src = inputs.nvim-lspconfig; + }); + nvim-puppeteer = prev.vimUtils.buildVimPluginFrom2Nix { pname = "nvim-puppeteer"; version = mkVersionInput inputs.nvim-puppeteer;