* Export a binary-cache-url file.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34639 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
This commit is contained in:
parent
6ef672d390
commit
f64bd1231d
|
@ -37,6 +37,12 @@ system("$curl '$srcChannelURL/MANIFEST' > $dstChannelPath/MANIFEST") == 0 or die
|
|||
system("$curl '$nixexprsURL' > $dstChannelPath/nixexprs.tar.bz2") == 0 or die "cannot download `$nixexprsURL'";
|
||||
|
||||
|
||||
# Advertise a binary cache.
|
||||
open FILE, ">$dstChannelPath/binary-cache-url" or die;
|
||||
print FILE "http://nixos.org/binary-cache/" or die;
|
||||
close FILE or die;
|
||||
|
||||
|
||||
# Read the manifest.
|
||||
my (%narFiles, %patches);
|
||||
readManifest("$dstChannelPath/MANIFEST", \%narFiles, \%patches);
|
||||
|
|
Loading…
Reference in a new issue