aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 16:00:10 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 16:00:10 -0500
commit91617f80ec03ff4580a656310959ce2e31e0d177 (patch)
treefa9caaf3bdab79e87526efbdaf386fb3a7d6ba46 /perl
parent46e942ff9e65755689ee72f93846d7118e1b8d45 (diff)
Fix perl bindings
Diffstat (limited to 'perl')
-rw-r--r--perl/lib/Nix/Store.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs
index 3ccd3c722..bdb4fa655 100644
--- a/perl/lib/Nix/Store.xs
+++ b/perl/lib/Nix/Store.xs
@@ -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());