From f9938b2b1a1a1815c92715f2a4c1033b997fabdb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 27 Mar 2026 12:09:15 +0000 Subject: [PATCH 1/2] neovim[-unwrapped]: 0.11.6 -> 0.12.0 Diff: https://github.com/neovim/neovim/compare/v0.11.6...v0.12.0 Changelog: https://github.com/neovim/neovim/releases/tag/v0.12.0 --- pkgs/by-name/ne/neovim-unwrapped/package.nix | 4 ++-- .../neovim-unwrapped/treesitter-parsers.nix | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/ne/neovim-unwrapped/package.nix b/pkgs/by-name/ne/neovim-unwrapped/package.nix index 3ea83dfa8bef..39aafb0eb7f2 100644 --- a/pkgs/by-name/ne/neovim-unwrapped/package.nix +++ b/pkgs/by-name/ne/neovim-unwrapped/package.nix @@ -101,7 +101,7 @@ stdenv.mkDerivation ( in { pname = "neovim-unwrapped"; - version = "0.11.6"; + version = "0.12.0"; __structuredAttrs = true; @@ -109,7 +109,7 @@ stdenv.mkDerivation ( owner = "neovim"; repo = "neovim"; tag = "v${finalAttrs.version}"; - hash = "sha256-GdfCaKNe/qPaUV2NJPXY+ATnQNWnyFTFnkOYDyLhTNg="; + hash = "sha256-uWhrGAwQ2nnAkyJ46qGkYxJ5K1jtyUIQOAVu3yTlquk="; }; strictDeps = true; diff --git a/pkgs/by-name/ne/neovim-unwrapped/treesitter-parsers.nix b/pkgs/by-name/ne/neovim-unwrapped/treesitter-parsers.nix index 410f73652cfb..213d7add3e1a 100644 --- a/pkgs/by-name/ne/neovim-unwrapped/treesitter-parsers.nix +++ b/pkgs/by-name/ne/neovim-unwrapped/treesitter-parsers.nix @@ -6,23 +6,23 @@ hash = "sha256:25dd4bb3dec770769a407e0fc803f424ce02c494a56ce95fedc525316dcf9b48"; }; lua.src = fetchurl { - url = "https://github.com/tree-sitter-grammars/tree-sitter-lua/archive/v0.4.0.tar.gz"; - hash = "sha256:b0977aced4a63bb75f26725787e047b8f5f4a092712c840ea7070765d4049559"; + url = "https://github.com/tree-sitter-grammars/tree-sitter-lua/archive/v0.5.0.tar.gz"; + hash = "sha256:cf01b93f4b61b96a6d27942cf28eeda4cbce7d503c3bef773a8930b3d778a2d9"; }; vim.src = fetchurl { - url = "https://github.com/tree-sitter-grammars/tree-sitter-vim/archive/v0.7.0.tar.gz"; - hash = "sha256:44eabc31127c4feacda19f2a05a5788272128ff561ce01093a8b7a53aadcc7b2"; + url = "https://github.com/tree-sitter-grammars/tree-sitter-vim/archive/v0.8.1.tar.gz"; + hash = "sha256:93cafb9a0269420362454ace725a118ff1c3e08dcdfdc228aa86334b54d53c2a"; }; vimdoc.src = fetchurl { - url = "https://github.com/neovim/tree-sitter-vimdoc/archive/v4.0.0.tar.gz"; - hash = "sha256:8096794c0f090b2d74b7bff94548ac1be3285b929ec74f839bd9b3ff4f4c6a0b"; + url = "https://github.com/neovim/tree-sitter-vimdoc/archive/v4.1.0.tar.gz"; + hash = "sha256:020e8f117f648c8697fca967995c342e92dbd81dab137a115cc7555207fbc84f"; }; query.src = fetchurl { - url = "https://github.com/tree-sitter-grammars/tree-sitter-query/archive/v0.6.2.tar.gz"; - hash = "sha256:90682e128d048fbf2a2a17edca947db71e326fa0b3dba4136e041e096538b4eb"; + url = "https://github.com/tree-sitter-grammars/tree-sitter-query/archive/v0.8.0.tar.gz"; + hash = "sha256:c2b23b9a54cffcc999ded4a5d3949daf338bebb7945dece229f832332e6e6a7d"; }; markdown.src = fetchurl { - url = "https://github.com/tree-sitter-grammars/tree-sitter-markdown/archive/v0.5.0.tar.gz"; - hash = "sha256:14c2c948ccf0e9b606eec39b09286c59dddf28307849f71b7ce2b1d1ef06937e"; + url = "https://github.com/tree-sitter-grammars/tree-sitter-markdown/archive/v0.5.3.tar.gz"; + hash = "sha256:df845b1ab7c7c163ec57d7fa17170c92b04be199bddab02523636efec5224ab6"; }; } From c55b22cb732fc20170f640342ceccfedc63feb91 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 29 Mar 2026 22:42:08 +0000 Subject: [PATCH 2/2] luaPackages.neotest: fetch patch to fix neovim 0.12 compatibility https://github.com/nvim-neotest/neotest/pull/594 --- pkgs/development/lua-modules/overrides.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/lua-modules/overrides.nix b/pkgs/development/lua-modules/overrides.nix index 37530b0b0ad2..c8c1af23f3e0 100644 --- a/pkgs/development/lua-modules/overrides.nix +++ b/pkgs/development/lua-modules/overrides.nix @@ -854,6 +854,16 @@ in }; neotest = prev.neotest.overrideAttrs (old: { + patches = [ + (fetchpatch { + # fix compatibility with neovim 0.12: iter_matches breaking change + # https://github.com/nvim-neotest/neotest/pull/594 + name = "fix-neovim-0-12-compat"; + url = "https://github.com/LiamCoop/neotest/commit/2ffca3aefb070e31f1ac00e9fbfd1a83f995c326.patch"; + hash = "sha256-3+ooC3ZB8pl90FG+kTZxIzmPxrdJTx/XNYE2tPDWO+w="; + }) + ]; + doCheck = stdenv.hostPlatform.isLinux; nativeCheckInputs = old.nativeCheckInputs ++ [ final.nlua