mirror of
https://github.com/NixOS/nix.git
synced 2025-12-10 19:11:03 +01:00
WIP: store separate hasValidPath bool
This commit is contained in:
parent
1722ae6ece
commit
71e4c9c505
17 changed files with 119 additions and 69 deletions
|
|
@ -71,7 +71,7 @@ void printGraphML(ref<Store> store, StorePathSet && roots)
|
|||
auto info = store->queryPathInfo(path);
|
||||
cout << makeNode(*info);
|
||||
|
||||
for (auto & p : info->references) {
|
||||
for (auto & p : info->referencesPossiblyToSelf()) {
|
||||
if (p != path) {
|
||||
workList.insert(p);
|
||||
cout << makeEdge(path.to_string(), p.to_string());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue