We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f96e1e + 2181f3c commit 97d9e3eCopy full SHA for 97d9e3e
mirror-nixos-branch.pl
@@ -108,7 +108,7 @@ sub fetch {
108
109
if (! -e $dstFile) {
110
print STDERR "downloading $srcFile to $dstFile...\n";
111
- write_file("$dstFile.sha256", $sha256_expected);
+ write_file("$dstFile.sha256", "$sha256_expected $dstName");
112
system("NIX_REMOTE=https://cache.nixos.org/ nix cat-store '$srcFile' > '$dstFile.tmp'") == 0
113
or die "unable to fetch $srcFile\n";
114
rename("$dstFile.tmp", $dstFile) or die;
0 commit comments