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