From 03109e958089846846827a47f4dcfce843752d3b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 15 Feb 2016 20:09:30 +0100 Subject: [PATCH] Fix nix-copy-closure http://hydra.nixos.org/build/32005971 --- perl/lib/Nix/Store.xs | 1 + 1 file changed, 1 insertion(+) 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());