-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Local path repository suddenly has a hash mismatch after GC #6061
Comments
This can happen when you:
that's at least one way you can wind up here. Beyond that. the implications get a lot more serious if there's something else going on. |
Turns out that removing |
I'm experiencing the same issue here. I kind of expect this workflow, as described by @colemickens, to just work while developing a package. The best example would probably be writing and testing the Removing |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/going-crazy-on-flake-with-systemd-service/51488/1 |
Describe the bug
I've been running
nix develop
on a package while trying to get it built. To clean up some space from temporary builds I've runnix store gc
. This somehow broke the expected nix hashes.Steps To Reproduce
I don't know if that's reproducible, but my actions were:
nix develop
- works as expectednix store gc
nix develop
- gives:Expected behavior
Pre and post gc the system should behave the same.
nix-env --version
outputnix-env (Nix) 2.6.0
The text was updated successfully, but these errors were encountered: