Skip to content

Commit

Permalink
Merge pull request #11700 from alyssais/2.18-exportReferencesGraph
Browse files Browse the repository at this point in the history
[2.18] Fix exportReferencesGraph when given store subpath
  • Loading branch information
edolstra authored Oct 16, 2024
2 parents fb02a95 + 0812dde commit a1bfc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/parsed-derivations.cc
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ std::optional<nlohmann::json> ParsedDerivation::prepareStructuredAttrs(Store & s
for (auto i = e->begin(); i != e->end(); ++i) {
StorePathSet storePaths;
for (auto & p : *i)
storePaths.insert(store.parseStorePath(p.get<std::string>()));
storePaths.insert(store.toStorePath(p.get<std::string>()).first);
json[i.key()] = store.pathInfoToJSON(
store.exportReferences(storePaths, inputPaths), false, true);
}
Expand Down

0 comments on commit a1bfc99

Please sign in to comment.