forked from lix-project/lix
Merge "Fix exportReferencesGraph when given store subpath" into main
This commit is contained in:
commit
c8c838381d
|
@ -151,7 +151,7 @@ std::optional<nlohmann::json> ParsedDerivation::prepareStructuredAttrs(Store & s
|
||||||
for (auto i = e->begin(); i != e->end(); ++i) {
|
for (auto i = e->begin(); i != e->end(); ++i) {
|
||||||
StorePathSet storePaths;
|
StorePathSet storePaths;
|
||||||
for (auto & p : *i)
|
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(
|
json[i.key()] = store.pathInfoToJSON(
|
||||||
store.exportReferences(storePaths, inputPaths), false, true);
|
store.exportReferences(storePaths, inputPaths), false, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue