-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
error: path '/nix/store/52k8rqihijagzc2lkv17f4lw9kmh4ki6-gnugrep-3.11-info' is not valid #260288
Comments
Probably related to NixOS/nix#9052 |
What should I do then? |
Not use 2.18. For about a week now unstable has reverted nixUnstable to be 2.17. |
I tried changing this line https://github.com/MobSenpai/dotfiles/blob/f9d579a0cdca6ed6eec35af9e5faca292e9e9c76/hosts/shared/nix.nix#L44 to pkgs.nixVersions.nix_2_17
|
You daemon also has to use 2.17, did you try rebooting? |
I think I somehow broke my nixos install. Reinstalling fixes it. |
Describe the bug
This is the error I am having after latest 'nix flake update' and then 'sudo nixos-rebuild switch --flake ...'
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
nixos-rebuild should succeed without error
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This happened with me around one week ago, and then I had to revert back to previous update. I thought if would be fixed in the new updates but even now I am not able to build. Please help!
my dotfile: https://github.com/MobSenpai/dotfiles.git
Notify maintainers
Metadata
"x86_64-linux"
Linux 6.5.5, NixOS, 23.11 (Tapir), 23.11.20230925.6500b45
yes
yes
nix-env (Nix) 2.17.0
/nix/store/i6hq63805y784dml4j8pgkrz3lryxzld-source
The text was updated successfully, but these errors were encountered: