Skip to content

Commit

Permalink
Merge pull request NixOS#9797 from edolstra/fix-error-message
Browse files Browse the repository at this point in the history
Store::buildPaths(): Fix display of store paths
  • Loading branch information
Ericson2314 authored Jan 17, 2024
2 parents 1d89c7b + 39ab50f commit b5ed36e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstore/build/entry-points.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ void Store::buildPaths(const std::vector<DerivedPath> & reqs, BuildMode buildMod
}
if (i->exitCode != Goal::ecSuccess) {
if (auto i2 = dynamic_cast<DerivationGoal *>(i.get()))
failed.insert(std::string { i2->drvPath.to_string() });
failed.insert(printStorePath(i2->drvPath));
else if (auto i2 = dynamic_cast<PathSubstitutionGoal *>(i.get()))
failed.insert(std::string { i2->storePath.to_string()});
failed.insert(printStorePath(i2->storePath));
}
}

Expand Down

0 comments on commit b5ed36e

Please sign in to comment.