build-remote: Work properly on a chrooted store
This commit is contained in:
parent
fe9d2f974d
commit
f8624762ac
|
@ -216,7 +216,7 @@ connected:
|
||||||
uploadLock = -1;
|
uploadLock = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
BasicDerivation drv(readDerivation(drvPath));
|
BasicDerivation drv(readDerivation(store->realStoreDir + "/" + baseNameOf(drvPath)));
|
||||||
drv.inputSrcs = inputs;
|
drv.inputSrcs = inputs;
|
||||||
|
|
||||||
printInfo("building '%s' on '%s'", drvPath, storeUri);
|
printInfo("building '%s' on '%s'", drvPath, storeUri);
|
||||||
|
|
Loading…
Reference in a new issue