Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(nix): update flake to prevent build errors #28394

Merged
merged 1 commit into from Apr 18, 2024

Conversation

ribru17
Copy link
Contributor

@ribru17 ribru17 commented Apr 18, 2024

  • Updates nixpkgs to source a necessary Tree-sitter version
  • Updates to a new llvm version as the old one was removed from nixpkgs
  • Properly moves doCheck from a regular param to an attribute option

I think the documentation may still need an update, because nix-shell '<nixpkgs>' -A neovim-unwrapped remains broken, but now the main build works as does nix develop (which seems to give basically the same effect as the above command). Sadly I don't think I know enough about nix to provide proper documentation

- Updates nixpkgs to source a necessary Tree-sitter version
- Updates to a new llvm version as the old one was removed from nixpkgs
- Properly moves `doCheck` from a regular param to an attribute option
@github-actions github-actions bot added platform:nix build building and installing Neovim using the provided scripts labels Apr 18, 2024
@clason
Copy link
Member

clason commented Apr 18, 2024

I think the flake is meant to be moved anyway, so not sure changing it makes sense here? @teto

@justinmk justinmk merged commit 206475d into neovim:master Apr 18, 2024
10 checks passed
@justinmk
Copy link
Member

see #28305 (comment) :

The plan is to remove the flake from the nix repository because of the overhead it creates to contributors and move it to https://github.com/nix-community/neovim-nightly-overlay/. I haven't had the time to do so. Is this something you would be interested in ?

@ribru17
Copy link
Contributor Author

ribru17 commented Apr 18, 2024

I made a PR to copy the flake over, once/if it gets merged I think it will be fine to remove it here, and mention that in BUILD.md of course

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build building and installing Neovim using the provided scripts platform:nix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants