forked from lix-project/lix
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.
This commit is contained in:
parent
d0fc615af6
commit
df27db712d
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue