diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-10-24T12·14+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-10-24T12·14+0200 |
commit | f8624762aca7df05cfb405f5e79065d61b1a8d4b (patch) | |
tree | 57d2ba7cc26a09a8ff20ca56f04df68a456c2ad6 /src | |
parent | fe9d2f974d41a943b5245dbadbff0d0adab42046 (diff) |
build-remote: Work properly on a chrooted store
Diffstat (limited to 'src')
-rw-r--r-- | src/build-remote/build-remote.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc index dc784f9477e9..92ae99e168b7 100644 --- a/src/build-remote/build-remote.cc +++ b/src/build-remote/build-remote.cc @@ -216,7 +216,7 @@ connected: uploadLock = -1; } - BasicDerivation drv(readDerivation(drvPath)); + BasicDerivation drv(readDerivation(store->realStoreDir + "/" + baseNameOf(drvPath))); drv.inputSrcs = inputs; printInfo("building '%s' on '%s'", drvPath, storeUri); |