Hi, could somebody please explain/reassure me on how derivation->realization mappings are supposed to migrate between two content-addressed Nix stores? I’m specifically interested in
- Querying them from substituters. There’s some new extra API for that, right? Is it fully orthogonal to the “regular” requests?
- Storing them in /nix/store. They just live in the sqlite file and nowhere else?
- Exporting them for import into a different store. I’m under the impression that
nix-store --exportdoesn’t include them (thus the separate protocol extension), so whatever you
--importwill not be picked up and will have to be rebuilt anyway to establish the mapping, making the whole ordeal useless.
So, if I have one store and another store, how ca-derivations are supposed to migrate between them in a way that takes their mappings with them? For networked substituters case and, separately, for offline local transfers case.