Skip to content
Snippets Groups Projects
Commit df27db71 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

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.
parent d0fc615a
No related branches found
No related tags found
Loading
...@@ -273,7 +273,7 @@ sub processNARInfo { ...@@ -273,7 +273,7 @@ sub processNARInfo {
$insertNAR->execute( $insertNAR->execute(
$cache->{id}, basename($storePath), $narInfo->{url}, $narInfo->{compression}, $cache->{id}, basename($storePath), $narInfo->{url}, $narInfo->{compression},
$narInfo->{fileHash}, $narInfo->{fileSize}, $narInfo->{narHash}, $narInfo->{narSize}, $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:/; unless $request->{url} =~ /^file:/;
return $narInfo; return $narInfo;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment