Fix perl bindings

This commit is contained in:
John Ericson 2023-01-06 16:00:10 -05:00
parent 46e942ff9e
commit 91617f80ec
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ int isValidPath(char * path)
SV * queryReferences(char * path)
PPCODE:
try {
for (auto & i : store()->queryPathInfo(store()->parseStorePath(path))->references)
for (auto & i : store()->queryPathInfo(store()->parseStorePath(path))->referencesPossiblyToSelf())
XPUSHs(sv_2mortal(newSVpv(store()->printStorePath(i).c_str(), 0)));
} catch (Error & e) {
croak("%s", e.what());