diff options
author | regnat <rg@regnat.ovh> | 2020-10-20 15:14:02 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2020-12-11 20:41:32 +0100 |
commit | 3ac9d74eb1de0f696bb0384132f7ecc7d057f9d6 (patch) | |
tree | 59ad4e56ef7e20b10d01fb7fd78daf7e9f41c8a1 /src/libexpr/primops.cc | |
parent | 58cdab64acd4807f73768fb32acdde39b501799f (diff) |
Rework the db schema for derivation outputs
Add a new table for tracking the derivation output mappings.
We used to hijack the `DerivationOutputs` table for that, but (despite its
name), it isn't a really good fit:
- Its entries depend on the drv being a valid path, making it play badly with
garbage collection and preventing us to copy a drv output without copying
the whole drv closure too;
- It dosen't guaranty that the output path exists;
By using a different table, we can experiment with a different schema better
suited for tracking the output mappings of CA derivations.
(incidentally, this also fixes #4138)
Diffstat (limited to 'src/libexpr/primops.cc')
0 files changed, 0 insertions, 0 deletions