forked from the-distro/channel-scripts
* Include .sha256 files.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34853 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
This commit is contained in:
parent
1c063dced7
commit
3ac156edb9
|
@ -52,6 +52,10 @@ else
|
|||
$wget --directory=$tmpDir $url/job/nixos.ova.i686-linux/download
|
||||
$wget --directory=$tmpDir $url/job/nixos.ova.x86_64-linux/download
|
||||
|
||||
for i in $tmpDir/*.iso $tmpDir/*.ova; do
|
||||
nix-hash --type sha256 --flat $i > $i.sha256
|
||||
done
|
||||
|
||||
perl -w ./mirror-channel.pl "$url/channel" "$tmpDir" \
|
||||
nix-cache http://cache.nixos.org \
|
||||
/data/releases/patches/all-patches "$url/job/nixos.channel/download/1"
|
||||
|
|
Loading…
Reference in a new issue