diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-12 09:49:09 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-12 09:49:09 -0500 |
commit | 79c169d1c615211af69c1cbc6218f7465a4f81ed (patch) | |
tree | a5d96334bf6d52054fd9eefa5e2f9b23b1a3ef59 /src/libstore/remote-store.cc | |
parent | d558fb98f6f8ce32e5c08a36d798441f1b941ba8 (diff) |
Allow substituting from different storeDir
Substituters can substitute from one store dir to another with a
little bit of help. The store api just needs to have a CA so it can
recompute the store path based on the new store dir. We can only do
this for fixed output derivations with no references, though.
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r-- | src/libstore/remote-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc index 5c36693e6..956980f49 100644 --- a/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -309,7 +309,7 @@ StorePathSet RemoteStore::querySubstitutablePaths(const StorePathSet & paths) void RemoteStore::querySubstitutablePathInfos(const StorePathSet & paths, - SubstitutablePathInfos & infos) + SubstitutablePathInfos & infos, std::map<std::string, std::string> pathsCA) { if (paths.empty()) return; |