From f8624762aca7df05cfb405f5e79065d61b1a8d4b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 24 Oct 2017 14:14:28 +0200 Subject: [PATCH] build-remote: Work properly on a chrooted store --- src/build-remote/build-remote.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);