aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-15 20:09:30 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-15 20:09:30 +0100
commit03109e958089846846827a47f4dcfce843752d3b (patch)
tree45ce2eb112c9c6c494caaa7617567fda951e19fa /perl
parentc8f4d89a345cc06b64b0137e15567ec41c00881c (diff)
Fix nix-copy-closure
http://hydra.nixos.org/build/32005971
Diffstat (limited to 'perl')
-rw-r--r--perl/lib/Nix/Store.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs
index 5a1e8424f..78cc436ca 100644
--- a/perl/lib/Nix/Store.xs
+++ b/perl/lib/Nix/Store.xs
@@ -160,6 +160,7 @@ SV * topoSortPaths(...)
SV * followLinksToStorePath(char * path)
CODE:
try {
+ store();
RETVAL = newSVpv(followLinksToStorePath(path).c_str(), 0);
} catch (Error & e) {
croak("%s", e.what());