Closed a-h closed 3 years ago
The maintainer of the neovim-nightly-overlay responded to my (closed) issue saying that they'd made some changes and it now just works. Here's the commit that got me working: https://github.com/a-h/dotfiles/commit/dd56c35908958a4abf727ab590421b93b071486e
The maintainer of the neovim-nightly-overlay responded to my (closed) issue saying that they'd made some changes and it now just works. Here's the commit that got me working: a-h/dotfiles@dd56c35
In https://github.com/a-h/dotfiles/blob/dd56c35908958a4abf727ab590421b93b071486e/.nixpkgs/darwin-configuration.nix#L124 you're using but neovim
not neovim-nightly
. Just asking bc I'm still experiencing same issue when using neovim-nightly
and would like to learn if that is supposed to work by the change.
thx
Sorry, no idea. Since Neovim 0.6 came out, I've been happy, and have pegged my version to Neovim 6 for the time being:
neovim6Revision = import (builtins.fetchTarball {
name = "nixos-unstable-2022-01-01";
url = "https://github.com/nixos/nixpkgs/archive/9d6d1a474b946c98168bf7fee9e4185ed11cfd8f.tar.gz";
# Hash obtained using `nix-prefetch-url --unpack <url>`
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/neovim/default.nix
sha256 = "183q04asndwganf31q4fx0aigc20ad6ixs56m92y3d4iry70qv91";
}) {};
neovim6 = neovim6Revision.neovim;
Tested using this commits pkgs.neovim.override
it worked and installed the expected version of neovim according to the neovim-nightly-overlay
.
The maintainer of the neovim-nightly-overlay responded to my (closed) issue saying that they'd made some changes and it now just works. Here's the commit that got me working: a-h/dotfiles@dd56c35
In https://github.com/a-h/dotfiles/blob/dd56c35908958a4abf727ab590421b93b071486e/.nixpkgs/darwin-configuration.nix#L124 you're using but
neovim
notneovim-nightly
. Just asking bc I'm still experiencing same issue when usingneovim-nightly
and would like to learn if that is supposed to work by the change.thx
I'm trying to run a later version of Neovim with Nix, but I can't get it working with the configuration etc.
There's a community overlay at https://github.com/nix-community/neovim-nightly-overlay that lets me install neovim nightly by adding
neovim-nightly
to myenvironment.systemPackages
, but it only takes effect if I also remove my custom vim configuration:I think I've tried every permutation possible to try and get my custom config loaded into
neovim-nightly
.The obvious thing to try is switching
neovim
toneovim-nightly
produces an error thatvimAlias
is an unexpected argument:I've been Googling and reading around, but keep coming up against solutions that seem to be designed for NixOS, or Home Manager, or overlays, or overrides or flakes. Anything except what I'm trying to do!
How can I run 0.5 of Neovim, complete with my configuration?