-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Closed
Copy link
Labels
0.kind: bugSomething is brokenSomething is broken
Description
Nixpkgs version
- Unstable (26.05)
Describe the bug
When I build my neovim with a recent nixpkgs, I get a lua stacktrace in neovim when opining any file that has associated grammars (see logs).
I was able to bisect this down to d5146f4 (#470883)
Steps to reproduce
nix run --override-input nixpkgs github:nixos/nixpkgs/4978a37c9ff1809794c12f915afcb6d6313ed4e5 github:nobbz/nobbz-vim -- foo.mdYou will see a pop up notification first, and then a permanent split pane with the full error at the bottom.
Expected behaviour
neovim works with treesitter
Screenshots
No response
Relevant log output
Stacktrace:
E5113: Error while calling lua chunk: ...ck/myNeovimPackages/start/nobbz/lua/nobbz/treesitter.lua:2: module 'nvim-treesitter.configs' not found:
no field package.preload['nvim-treesitter.configs']
no file '/nix/store/8p012cx5h66v6s3664fav3cgkn3mqnp5-luajit-2.1.1741730670/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/nix/store/s16704aclkb8ksqfjz86ymfylm7ks7cq-luajit2.1-luassert-1.9.0-1/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/nix/store/s16704aclkb8ksqfjz86ymfylm7ks7cq-luajit2.1-luassert-1.9.0-1/share/lua/5.1/nvim-treesitter/configs/init.lua'
no file '/nix/store/6mqd7avxcvy7b4yk375ippqyswyc3jzp-luajit2.1-say-1.4.1-3/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/nix/store/6mqd7avxcvy7b4yk375ippqyswyc3jzp-luajit2.1-say-1.4.1-3/share/lua/5.1/nvim-treesitter/configs/init.lua'
no file '/nix/store/ppkk2jsl4yahrm0bwrlggkaki826x6q6-luajit2.1-nvim-web-devicons-0.100-1/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/nix/store/nglwpzcpr4c86gzj3054alvjn4fnjd46-luajit-2.1.1741730670-env/share/lua/5.1/nvim-treesitter/configs.lua'
no file '/nix/store/nglwpzcpr4c86gzj3054alvjn4fnjd46-luajit-2.1.1741730670-env/share/lua/5.1/nvim-treesitter/configs/init.lua'
no file '/nix/store/nglwpzcpr4c86gzj3054alvjn4fnjd46-luajit-2.1.1741730670-env/lib/lua/5.1/nvim-treesitter/configs.so'
no file '/nix/store/f9ndkil92vm1gsgbrx1ajs8a21vzxfab-vim-pack-dir/pack/myNeovimPackages/start/blink.cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/libnvim-treesitter/configs.so'
no file '/nix/store/f9ndkil92vm1gsgbrx1ajs8a21vzxfab-vim-pack-dir/pack/myNeovimPackages/start/blink.cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/nvim-treesitter/configs.so'
no file '/nix/store/nglwpzcpr4c86gzj3054alvjn4fnjd46-luajit-2.1.1741730670-env/lib/lua/5.1/nvim-treesitter.so'
no file '/nix/store/f9ndkil92vm1gsgbrx1ajs8a21vzxfab-vim-pack-dir/pack/myNeovimPackages/start/blink.cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/libnvim-treesitter.so'
no file '/nix/store/f9ndkil92vm1gsgbrx1ajs8a21vzxfab-vim-pack-dir/pack/myNeovimPackages/start/blink.cmp/lua/blink/cmp/fuzzy/rust/../../../../../target/release/nvim-treesitter.so'
stack traceback:
[C]: in function 'require'
...ck/myNeovimPackages/start/nobbz/lua/nobbz/treesitter.lua:2: in main chunk
[C]: in function 'rs'
...dir/pack/myNeovimPackages/start/nobbz/lua/nobbz/init.lua:52: in main chunk
[C]: in function 'require'
...v1bwailadnqwr6knw-vimplugin-nobbz-dirty/plugin/nobbz.lua:1: in main chunk
bisection log:
git bisect start '--first-parent'
# status: waiting for both good and bad commits
# bad: [4978a37c9ff1809794c12f915afcb6d6313ed4e5] python3Packages.starlette-admin: 0.15.1 -> 0.16.0 (#476807)
git bisect bad 4978a37c9ff1809794c12f915afcb6d6313ed4e5
# status: waiting for good commit(s), bad commit known
# good: [0d59e0290eefe0f12512043842d7096c4070f30e] ngtcp2-gnutls: 1.17.0 -> 1.18.0 (#464196)
git bisect good 0d59e0290eefe0f12512043842d7096c4070f30e
# good: [eeede76b7ba0d30480eeda1655f54512d2527c66] python3Packages.uv-dynamic-versioning: 0.11.2 -> 0.12.0 (#471014)
git bisect good eeede76b7ba0d30480eeda1655f54512d2527c66
# good: [9350dbbc2706c2fc23cfccd9f3ea1887c94e15f7] design: 46-alpha1 -> 48-alpha1 (#474282)
git bisect good 9350dbbc2706c2fc23cfccd9f3ea1887c94e15f7
# bad: [c531a35ba35d201427031c5ca14ad14c64a2be28] kodiPackages.inputstream-adaptive: 21.5.13 → 21.5.18 (#475589)
git bisect bad c531a35ba35d201427031c5ca14ad14c64a2be28
# good: [5c995d0cc5097d4ef223b30fdfef64edb66cd66c] python3Packages.pypck: 0.9.8 -> 0.9.9 (#474862)
git bisect good 5c995d0cc5097d4ef223b30fdfef64edb66cd66c
# good: [645900a98008aba0414f75cbf165ba98ca17e0f8] python3Packages.session-info2: 0.2.3 -> 0.3 (#474590)
git bisect good 645900a98008aba0414f75cbf165ba98ca17e0f8
# bad: [4b2349a30f84d361a8bad0e73713dbea7ccab73c] tableplus: add linux support (#459230)
git bisect bad 4b2349a30f84d361a8bad0e73713dbea7ccab73c
# good: [c4cfc9ced33f81099f419fa59893df11dc3f9de9] zerofs: 0.22.8 -> 0.22.9 (#475279)
git bisect good c4cfc9ced33f81099f419fa59893df11dc3f9de9
# bad: [7f8d5d2b8f0b86c7b02f5048e480b2733f8b6654] lubelogger: 1.5.5 -> 1.5.6 (#474711)
git bisect bad 7f8d5d2b8f0b86c7b02f5048e480b2733f8b6654
# good: [a80a3d89e011981d92bad6aed03836c7adc1037f] hermitcli: 0.46.2 -> 0.47.0 (#475203)
git bisect good a80a3d89e011981d92bad6aed03836c7adc1037f
# bad: [86a2c2875dda77472f4d634714497ebf87b96dda] python3Packages.{rlax,distrax}: fix build (#475277)
git bisect bad 86a2c2875dda77472f4d634714497ebf87b96dda
# bad: [fa2ffc6dfccc3c30a3ff1b34db6cc4a82c250696] jsonschema-cli: 0.37.4 -> 0.38.1 (#475379)
git bisect bad fa2ffc6dfccc3c30a3ff1b34db6cc4a82c250696
# bad: [d5146f42b0fab36ec885494c90bbaada2447f984] vimPlugins.nvim-treesitter: master -> main update (#470883)
git bisect bad d5146f42b0fab36ec885494c90bbaada2447f984
# good: [cfe5456da2c3972d4f567b0175ffbc1223914e95] clooj: migrate to by-name (#475375)
git bisect good cfe5456da2c3972d4f567b0175ffbc1223914e95
# first bad commit: [d5146f42b0fab36ec885494c90bbaada2447f984] vimPlugins.nvim-treesitter: master -> main update (#470883)Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.18.2, NixOS, 26.05 (Yarara), 26.05.20260102.fb7944c - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.34.0pre20260104_fef2e2e - channels(aroemer):
"nixpkgs-21.11" - channels(nmelzer):
"" - channels(root):
"" - nixpkgs:
/nix/store/as8ksm9hafq3x3cvml95i5s092903kvk-source
Notify maintainers
None found, therefore pinging the author of PR found by bisection:
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken