luaPackages.neotest: fetch patch to fix neovim 0.12 compatibility

https://github.com/nvim-neotest/neotest/pull/594
This commit is contained in:
Gaetan Lepage
2026-03-29 22:42:08 +00:00
parent f9938b2b1a
commit c55b22cb73
@@ -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