Hi… I am having a build failure with the treesitter package, but I don’t understand the overall build pipelines to debug this beyond where I am now. I’m hopping someone here can provide a next step and/or help clarify which repo I should file a bug against. I have at least bisected the issue down the the commit in nixpkgs that triggered (but may not be the cause) of the build failure.
Here is the context and details:
I build my own lazy neovim flake so that I can pull in lazyvim modules in a nixos’ish way. (This is a fork of mostly someone else’s work, but I’ve been keeping it up to date and it has my custom modifications in it.)
The flake uses neovim-nightly-overlay
When updating my nixpkgs I had a build error. I bisected it to this commit: python312Packages.patch-ng: 1.17.4 -> 1.18.0 · NixOS/nixpkgs@8d8ab8c · GitHub. That commit seems irrelevant to me, but I assume it’s outputs are involved in the build processes for treesitter. Neovim and treesitter build and run just fine with the previous nixpkgs commit.
❯ nix run --extra-experimental-features "nix-command flakes" ~/src/lazyvim-nix
warning: Git tree '/home/pbozeman/src/lazyvim-nix' is dirty
error: hash mismatch in fixed-output derivation '/nix/store/nz112bna1008b22daafrqmyjn54ag9k1-tree-sitter-0.22.6-vendor.tar.gz.drv':
specified: sha256-U2YXpNwtaSSEftswI0p0+npDJqOq5GqxEUlOPRlJGmQ=
got: sha256-44FIO0kPso6NxjLwmggsheILba3r9GEhDld2ddt601g=
error: 1 dependencies of derivation '/nix/store/6hl37k8hq58f5b55djqb129i7gyfcylg-tree-sitter-0.22.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3yn8gakccf7wgpkh2s0ngxdryipzcx1v-neovim-unwrapped-nightly.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2y5cfrsp5hyw87cx6n4by7dhy1f7z6xf-neovim-nightly.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5phr9pcl4w9fpdl9l1fn98szjbm4b99v-nvim.drv' failed to build
It isn’t clear to me if neovim nightly (or the treesitter package) is making bad assumptions about the build, or if the build tools are misbehaving, or something else. Taking the next step to figuring that out seems like a big one. I’m hopping someone can at least help clarify where can I can raise an issue.
Thanks!