Fix build against latest Nix

This commit is contained in:
Maximilian Bosch
2020-04-06 19:48:34 +02:00
parent 4cabb37ebd
commit 2f9d422172
3 changed files with 6 additions and 6 deletions

View File

@ -466,7 +466,7 @@ void State::failStep(
/* Remember failed paths in the database so that they
won't be built again. */
if (result.stepStatus != bsCachedFailure && result.canCache)
for (auto & path : step->drv.outputPaths())
for (auto & path : step->drv->outputPaths())
txn.exec_params0("insert into FailedPaths values ($1)", localStore->printStorePath(path));
txn.commit();