diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-13 00:07:42 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-13 00:07:42 -0500 |
commit | c214cda9401cf50d0419038746428260b0dfdd63 (patch) | |
tree | 1081e6f454fcd48cef0361a77f78e534e347a1e8 /src/libstore/sandbox-network.sb | |
parent | b2cb288cdd462cbca35ffd3afda9d7ec2d595209 (diff) |
Correctly substitute from different storeDir
Originally, the test was only checking for different “real” storeDir.
That’s an easy case to handle, but the much harder one is if different
virtual store dirs are used. To do this, we need the SubstitutionGoal
to know about the ca, so it can recalculate the path to copy it over.
An important note here is that the store path passed to copyStorePath
needs to be one for srcStore - so that queryPathInfo works properly.
This also adds an error message when the store path from queryPathInfo
is different from the one we requested.
Diffstat (limited to 'src/libstore/sandbox-network.sb')
0 files changed, 0 insertions, 0 deletions