Comments (8)
This is a question best suited for discourse or the nix manual, pkgs.neovim-nightly is a drop-in replacement for wherever pkgs.neovim is called, there is nothing unique about using it.
from neovim-nightly-overlay.
Awesome, thanks so much @mjlbach. Here's the commit that's got me running Neovim nightly! a-h/dotfiles@dd56c35
from neovim-nightly-overlay.
Thanks, it doesn't seem like a drop-in replacement to me...
When I change from:
(
pkgs.neovim.override {
vimAlias = true;
configure = {
packages.myPlugins = with pkgs.vimPlugins; {
start = [
vim-go
vim-lastplace
vim-nix
coc-prettier
easygrep #dkprice/vim-easygrep
#nvim-lspconfig #https://neovim.io/doc/user/lsp.html#lsp-extension-example
];
opt = [];
};
customRC = builtins.readFile ./../dotfiles/.vimrc;
};
}
)
To:
(
pkgs.neovim-nightly.override {
vimAlias = true;
configure = {
packages.myPlugins = with pkgs.vimPlugins; {
start = [
vim-go
vim-lastplace
vim-nix
coc-prettier
easygrep #dkprice/vim-easygrep
#nvim-lspconfig #https://neovim.io/doc/user/lsp.html#lsp-extension-example
];
opt = [];
};
customRC = builtins.readFile ./../dotfiles/.vimrc;
};
}
)
I get an error:
error: anonymous function at /nix/store/r85slpvs1z7gykc968bbsqy3dmcc1a5h-source/pkgs/applications/editors/neovim/default.nix:1:1 called with unexpected argument 'vimAlias', at /nix/store/r85slpvs1z7gykc968bbsqy3dmcc1a5h-source/lib/customisation.nix:79:63
I'll ask on the Discourse though!
from neovim-nightly-overlay.
Neovim nightly is an override for neovim-unwrapped, not neovim, so you need to write the wrapper if you want to use the other helper functions.
from neovim-nightly-overlay.
@a-h I encourage you to use wrapNeovim or the home-manager plugin which exposes typed options to configure neovim.
from neovim-nightly-overlay.
@a-h The overlay now explicitly overrides neovim-unwrapped, so your original post should "just work"
from neovim-nightly-overlay.
Pls reopen, does not work anymore, see 573/nix-config-1@a91916a, same error as OP.
EDIT: Using neovim.override
in combination with this repository's overlay does indeed work.
Deleted my followup comment which posed exactly this as a question.
from neovim-nightly-overlay.
Awesome, thanks so much @mjlbach. Here's the commit that's got me running Neovim nightly! a-h/dotfiles@dd56c35
you're using neovim.override
not neovim-nightly.override
there still ?
EDIT: See answer directly above that comment.
from neovim-nightly-overlay.
Related Issues (20)
- Hitting /nix/store/jnp9n2x9cdvl47da3656illrd3p2qvb5-system_rplugin_manifest.patch failure again HOT 2
- nix-env -iA pkgs.neovim-nightly doesn't work? HOT 2
- vim-unwrapped lsp keyboard interrupt error after specific commit HOT 1
- Instructions for Nix without NixOS or home-manager HOT 1
- Patch error again HOT 3
- nlua0 & new lpeg build dependency issue HOT 3
- Trying to de-duplicate `nixpkgs` HOT 1
- Cache for the rest of us? HOT 6
- Build fails HOT 12
- ISSUE: README.md has deprecated configuration argument HOT 4
- only works built separately from a config?
- error: attribute 'src' missing from 'bash-grammar-neovim-3b29b39' HOT 7
- Error: attribute 'overlay' missing HOT 6
- Fails to build on non NixOS non flake HOT 1
- attribute 'overlay' missing HOT 7
- [NOTICE] Upstream breaking changes HOT 1
- Nightly CI not running HOT 14
- Constant full CPU core load on x86-64 darwin HOT 6
- Investigate the root cause of #538
- Neovim-nightly fails to fetch nightly builds HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neovim-nightly-overlay.