-
Notifications
You must be signed in to change notification settings - Fork 2
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
Disable Lazy option pkg.enabled
with mkDefault false
?
#14
Comments
turning off lazy `pkg.enabled` to work around impurity refs: willruggiano/neovim.nix#14
Sorry, I'm not entirely sure what exactly you're referencing. Is this a nix thing, neovim.nix thing or lazy.nvim thing? |
A lazy.nvim default setting: https://github.com/folke/lazy.nvim/blob/1159bdccd8910a0fd0914b24d6c3d186689023d9/doc/lazy.nvim.txt#L67-L68 neovim.nix/modules/plugins/default.nix Lines 99 to 117 in 867d08b
|
I just updated my plugins, and it seems that this option being enabled (the default) allows plugins to pull in their own dependencies. While this is a nice feature for Lazy, it's also impure.
In my case,
noice.nvim
is just namednoice
in my config, so some other plugin tried to pullnoice.nvim
again to satisfy its dependency.I see there's also rockspec support in Lazy now, and those dependencies are also part of packspec? Dunno if there's anything specific to disable to prevent that from causing an impurity.
The text was updated successfully, but these errors were encountered: