-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Flake follows a non-existent input #13
Comments
Sounds like lockfile shenanigans. Can you remove |
Removing my flake.lock from /etc/nixos did not fix the problem, is there a flake.lock in a different folder I should remove instead? |
Kept researching, an even more drastic approach seems to have worked. I had to rm -r ~/.cache/nix before I could get the update to work again. Hopefully this will pop up in search results in case anyone experiences this as well. I would mark this as solved now but it seems I do not have permission to do so |
Nevermind, I was able to update after I deleted the cache, but its still happening. If I attempt to run |
I'm really not sure what might be causing it. Seems to work fine for most of us. What's your Nix version? I could not repro with |
24.11.20250221.11415c7 (Vicuna) Maybe its something in my configuration.nix? I have no idea why it would cause an issue in a flake lock file but worth a shot?
|
That's unlikely. I don't see anything that could interfere. |
Just checked back, realized you asked for my version of nix rather than nixos, my apologies, nix-info says I'm currently running 2.15.1 |
I was wondering why that version was so old, I didn't realize you had to run |
2.15 is pretty old. I wasn't even aware that anyone may still be using it. What I'm certain of is that 2.18+ should work fine. Not sure about the versions in between.
I'm almost certain that's an anti-pattern on NixOS. Should be handled by the |
Whats crazy is that I set nix.package to version 2.25 before I tried doing it imperatively, didn't do anything when I rebuilt. Don't quite understand how I've managed to mess up my OS this badly, but at least I can update my flakes properly again |
My guess is that the imperative Nix is installed in a user profile and takes precedence in PATH. |
Whenever I attempt to update my flakes I keep getting the error:
error: input 'hyprland/hyprland-qtutils/hyprutils' follows a non-existent input 'hyprland/hyprland-qtutils/hyprlang/hyprutils'
If I had to guess it might have something to do with #10 ? But I don't actually know. Never had any issues with installing or updating hyprland before this point
Heres my flake.nix in case it helps:
The text was updated successfully, but these errors were encountered: