I ended up with the wrong source for a package in my nix store. This happened a while back so I'm not able to track down the log file to figure out how it happened. Any attempts I make to rebuild the same version of the package result in using the same incorrect source. Is there a way to invalidate a source archive or force a re-fetch?
I could mount the store
rw and delete the archive, but it seems like there ought to be a solution that doesn't subvert nixos'