mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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