diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-06 16:00:10 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-06 16:00:10 -0500 |
commit | 91617f80ec03ff4580a656310959ce2e31e0d177 (patch) | |
tree | fa9caaf3bdab79e87526efbdaf386fb3a7d6ba46 | |
parent | 46e942ff9e65755689ee72f93846d7118e1b8d45 (diff) |
Fix perl bindings
-rw-r--r-- | perl/lib/Nix/Store.xs | 2 |
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()); |