-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
"failed to resolve flake inputs from lock file" since a recent update #56
Comments
The panic should be fixed now in 1a15174. For the flake loading issue, you can try to delete and recreate |
I dont have a panic but I see too: I suspect nil tries to match a flake input to everything in the lockfile but if you dont use follows, you can easily have 3/4 different versions of "nixpkgs" in the lockfile. Could that be it ? |
Yes, thank you!
Done, but still getting the "failed to load flake workspace..." messages.
@oxalica @teto Yeah, that seems likely related. I have a few of those un-followed inputs in my FWIW, after re-creating
Here's a gist containing all of those: https://gist.github.com/montchr/7e1d2dfc333fa1a7982e1a0c1b896bba
|
Temporary regression, following oxalica/nil#56 for resolution.
Temporary regression, following oxalica/nil#56 for resolution.
Temporary regression, following oxalica/nil#56 for resolution.
Okay the problem is I misinterpret the followed inputs in flake.lock. The value of nodes' nil/crates/nix-interop/src/flake_lock.rs Line 40 in 1a15174
I'll fix it later today. |
I couldn't download |
Yes! All is good. Thank you. |
Since updating my
nil
flake input in the past week (maybe two weeks ago, but this past Monday seems more accurate), I've been encountering some errors relating to flake inputs in both Emacs and VS Code. Most recently, I updated earlier today since I saw some updates available (I'm excited about the CLI!), but the errors continue.Full output from within VS Code:
And a couple minutes later on
textDocument/completion
:At some point (in Emacs w/
lsp-mode
) I recall seeing a message advising me to runnix flake archive
-- however that doesn't appear to fix the issues.I'm also seeing similar errors on
textDocument/definition
andtextDocument/hover
requests. At a glance they seem likely to have the same root cause so I'll hold off on posting more error logs for now...Aside from these issues (which I'm guessing are related to the recent improvements around flake inputs specifically), other functionality seems to be working as usual (e.g. flattening attrsets refactoring).
Edit: I'm running
aarch64-darwin
by the way.Let me know if you need any more info. Thank you!
The text was updated successfully, but these errors were encountered: