Closed hqurve closed 3 years ago
This is due to Neovim requiring a more recent version of tree-sitter (specifically https://github.com/tree-sitter/tree-sitter/commit/cd96552448a6e0d4eb27fc54b27cb5130c4b6f76, see also https://github.com/neovim/neovim/issues/14923).
For now, just pin the overlay version while we sort this out upstream.
It'll start working again when https://github.com/neovim/neovim/pull/14930 is merged.
Is it possible to pin the overlay if I'm not using flakes to configure my system?
@jacksonludwig I did this (pinned the revision right before the current one)
nixpkgs.overlays = [
(import (let
# rev = "master";
rev = "2aff1c00dc619b5b8af3dee95461b41f3a6fd7f0";
in
builtins.fetchTarball {
url = "https://github.com/nix-community/neovim-nightly-overlay/archive/${rev}.tar.gz";
})
)
];
I'll modify the CI later so it won't update the repo if the build fails for future cases.
@jacksonludwig I did this (pinned the revision right before the current one)
nixpkgs.overlays = [ (import (let # rev = "master"; rev = "2aff1c00dc619b5b8af3dee95461b41f3a6fd7f0"; in builtins.fetchTarball { url = "https://github.com/nix-community/neovim-nightly-overlay/archive/${rev}.tar.gz"; }) ) ];
From where do you get that rev
? I want to go rollback to the last build but the rev
that I find in the commits don't work.
I no longer use this overlay, but rev
is the commit hash (or branch). I had just put it outside of the url for convenience and easy changes.
What do you mean by "don't work"? What is the error displayed?
For testing, I created the a nix file with the following contents
let
nixpkgs = import <nixpkgs> {
overlays = [
( import (let
rev = "12d8c6b785d578379d178d3102a7ccfcf7335f47";
in builtins.fetchTarball {
url = "https://github.com/nix-community/neovim-nightly-overlay/archive/${rev}.tar.gz";
})
)
];
};
in nixpkgs.neovim
and upon building, I got the nightly version of neovim (0.7).
Thanks @hqurve, I realised its the commit hash after some testing. For not working I mean compiling but returning a segfault error after opening nvim
.
right now I am using this rev
, that it's the one before master the day of the error, and it's working fine:
(import (
let
# rev = "master";
rev = "10e7407aa9e687bad3e167c46d2efd15eef47673";
in
builtins.fetchTarball {
url = "https://github.com/nix-community/neovim-nightly-overlay/archive/${rev}.tar.gz";
})
)
I just tested the last master and the error persists on my side
Comparison of the two commits: https://github.com/nix-community/neovim-nightly-overlay/compare/10e7407aa9e687bad3e167c46d2efd15eef47673..12d8c6b785d578379d178d3102a7ccfcf7335f47
I doubt the issue is with a mismatch in nixpkgs and your current system.
I believe the issue https://github.com/neovim/neovim/issues/18079 might be related. A plugin may be causing your segfault.