From 3ac156edb9cb56c2ebf072b9a03f3ea48cf1cdc7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 29 Aug 2014 15:19:00 +0000 Subject: [PATCH] * Include .sha256 files. git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34853 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb --- mirror-nixos-branch.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mirror-nixos-branch.sh b/mirror-nixos-branch.sh index a9c7820..be7db5a 100755 --- a/mirror-nixos-branch.sh +++ b/mirror-nixos-branch.sh @@ -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"