mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
Add Store::readDerivation() convenience function
This commit is contained in:
parent
045b07200c
commit
9f736dd89d
7 changed files with 17 additions and 11 deletions
|
@ -241,7 +241,7 @@ connected:
|
|||
|
||||
uploadLock = -1;
|
||||
|
||||
BasicDerivation drv(readDerivation(*store, store->realStoreDir + "/" + std::string(drvPath->to_string())));
|
||||
auto drv = store->readDerivation(*drvPath);
|
||||
drv.inputSrcs = store->parseStorePathSet(inputs);
|
||||
|
||||
auto result = sshStore->buildDerivation(*drvPath, drv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue