diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-06T12·43+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-06T12·43+0100 |
commit | df27db712df658dc9b7548b55fd65a15515d4d85 (patch) | |
tree | 61fb1e2bee1e615306ab60ea43587abf6e977183 | |
parent | d0fc615af658cb83e858b3c3c5e0d4c6c539ad66 (diff) |
Fix "Not an ARRAY reference" error
It's a mystery why this error is not triggered in the build farm (e.g. http://hydra.nixos.org/build/3265602). Ah well.
-rw-r--r-- | scripts/download-from-binary-cache.pl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in index 5c69326186db..74df79d8fed2 100644 --- a/scripts/download-from-binary-cache.pl.in +++ b/scripts/download-from-binary-cache.pl.in @@ -273,7 +273,7 @@ sub processNARInfo { $insertNAR->execute( $cache->{id}, basename($storePath), $narInfo->{url}, $narInfo->{compression}, $narInfo->{fileHash}, $narInfo->{fileSize}, $narInfo->{narHash}, $narInfo->{narSize}, - join(" ", @$narInfo->{refs}), $narInfo->{deriver}, $narInfo->{system}, time()) + join(" ", @{$narInfo->{refs}}), $narInfo->{deriver}, $narInfo->{system}, time()) unless $request->{url} =~ /^file:/; return $narInfo; |