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

Fail silently (or silenter) #122

Closed
gytis-ivaskevicius opened this issue Feb 2, 2024 · 3 comments
Closed

Fail silently (or silenter) #122

gytis-ivaskevicius opened this issue Feb 2, 2024 · 3 comments

Comments

@gytis-ivaskevicius
Copy link

When LSP loads it throws errors such as:
image

Also, I had the whole screen spammed due to import-from-derivation, maybe this one should be enabled by default? That sounds like an easy fix for this issue

@NovaViper
Copy link

I'm having similar issues too, except in my case, my entire computer will end up locking up because it uses all of my ram to run nix flake show 👀
I get this error inside of Doom Emacs

LSP :: Flake input "home-manager" cannot be evaluated: Nix exceeds memory limit
LSP :: Flake input "nixvim" cannot be evaluated: `nix flake show path:/nix/store/5r2d0vxwlzhg2r4p1bfgpxrn18rwwyan-source` failed with exit status: 1. Stderr:

Is there a way to disable this feature from running? It ends up making my computer slow down severely

@oxalica
Copy link
Owner

oxalica commented May 30, 2024

Is there a way to disable this feature from running? It ends up making my computer slow down severely

You can disable flake input auto evaluation via configuration nix.flake.autoEvalInputs.
See: https://github.com/oxalica/nil/blob/ab3ddb8f063774cf7e22eb610f5ecfdb77309f3c/docs/configuration.md

@NovaViper
Copy link

That fixed it, thank you!

@oxalica oxalica closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants