mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Merge pull request #10549 from alyssais/exportReferencesGraph
Fix exportReferencesGraph when given store subpath
This commit is contained in:
commit
40499bca99
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,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()] = pathInfoToJSON(store,
|
json[i.key()] = pathInfoToJSON(store,
|
||||||
store.exportReferences(storePaths, inputPaths));
|
store.exportReferences(storePaths, inputPaths));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue