nix copy: Make -r option use the "from" store
Previously, we tried to compute the closure in the local store, which obviously doesn't work.
This commit is contained in:
parent
287084d688
commit
558eda0115
3 changed files with 14 additions and 4 deletions
|
|
@ -33,6 +33,7 @@ struct StoreCommand : virtual Command
|
|||
std::string storeUri;
|
||||
StoreCommand();
|
||||
void run() override;
|
||||
virtual ref<Store> createStore();
|
||||
virtual void run(ref<Store>) = 0;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue