3
0
Fork 0
forked from mirrors/nixpkgs

copy-tarballs.pl: Create base-32 symlinks

This commit is contained in:
Eelco Dolstra 2014-05-22 12:11:07 +02:00
parent f4b7ac11a3
commit b6569c8497

View file

@ -91,4 +91,7 @@ foreach my $file (@{$data->{list}->{attrs}}) {
my $sha256 = hashFile("sha256", 0, $storePath) or die;
symlink("../$fn", "$tarballsCache/sha256/$sha256");
$sha256 = hashFile("sha256", 1, $storePath) or die;
symlink("../$fn", "$tarballsCache/sha256/$sha256");
}