mirror: Download packages.json.br and options.json.br

This commit is contained in:
Samuel Dionne-Riel 2020-03-24 22:24:29 -04:00
parent badde7c674
commit 0568ef3c4a

View file

@ -207,6 +207,8 @@ if ($bucketReleases && $bucketReleases->head_key("$releasePrefix")) {
if ($channelName =~ /nixos/) {
downloadFile("nixos.channel", "nixexprs.tar.xz");
downloadFile("nixos.iso_minimal.x86_64-linux");
downloadFile("nixpkgs.tarball", "packages.json.br", "json-br");
downloadFile("nixos.options", "options.json.br", "json-br");
if ($channelName !~ /-small/) {
downloadFile("nixos.iso_minimal.i686-linux");
@ -223,7 +225,8 @@ if ($bucketReleases && $bucketReleases->head_key("$releasePrefix")) {
}
} else {
downloadFile("tarball", "nixexprs.tar.xz");
downloadFile("tarball", "nixexprs.tar.xz", "source-dist");
downloadFile("tarball", "packages.json.br", "json-br");
}
# Generate the programs.sqlite database and put it in