aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store/graphml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-store/graphml.cc')
-rw-r--r--src/nix-store/graphml.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/graphml.cc b/src/nix-store/graphml.cc
index 8ca5c9c8d..1cd974e41 100644
--- a/src/nix-store/graphml.cc
+++ b/src/nix-store/graphml.cc
@@ -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());