Fix build.cc on linux

This commit is contained in:
Matthew Bauer 2020-07-08 19:27:51 -04:00
parent 8e0d0689be
commit 06a4e15478

View file

@ -2200,7 +2200,7 @@ void DerivationGoal::startBuilder()
(typically the dependencies of /bin/sh). Throw them
out. */
for (auto & i : drv->outputs)
dirsInChroot.erase(worker.store.printStorePath(i.second.path(drv->name)));
dirsInChroot.erase(worker.store.printStorePath(i.second.path(worker.store, drv->name)));
#elif __APPLE__
/* We don't really have any parent prep work to do (yet?)