aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-10-24 14:14:28 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-10-24 14:14:28 +0200
commitf8624762aca7df05cfb405f5e79065d61b1a8d4b (patch)
tree57d2ba7cc26a09a8ff20ca56f04df68a456c2ad6 /src
parentfe9d2f974d41a943b5245dbadbff0d0adab42046 (diff)
build-remote: Work properly on a chrooted store
Diffstat (limited to 'src')
-rw-r--r--src/build-remote/build-remote.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc
index dc784f947..92ae99e16 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);