forked from mirrors/nixpkgs
copy-tarballs.pl: Create base-32 symlinks
This commit is contained in:
parent
f4b7ac11a3
commit
b6569c8497
|
@ -91,4 +91,7 @@ foreach my $file (@{$data->{list}->{attrs}}) {
|
||||||
|
|
||||||
my $sha256 = hashFile("sha256", 0, $storePath) or die;
|
my $sha256 = hashFile("sha256", 0, $storePath) or die;
|
||||||
symlink("../$fn", "$tarballsCache/sha256/$sha256");
|
symlink("../$fn", "$tarballsCache/sha256/$sha256");
|
||||||
|
|
||||||
|
$sha256 = hashFile("sha256", 1, $storePath) or die;
|
||||||
|
symlink("../$fn", "$tarballsCache/sha256/$sha256");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue