Open
Description
Describe the bug
This is the second time i'm having this
error: path '/oix/store/1ijz8ihxk4na7d9kjprg8d8i63fb80n0-emoji-test.txt.drv' is not in the Nix store
I think it happened after kernel panic while system rebuild
Steps To Reproduce
??? this happens completely random
Expected behavior
NOT having this error
Metadata
nix-env (Nix) 2.28.3
Additional context
nix-collect-garbage -d
nix-store --repair --verify --check-contents
none of those took effect
possible solution would keeping database immutable and update it atomically. or, maybe creating db backups once in a while
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.