mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* nix-push / generate-patches: bzip the manifest.
This commit is contained in:
parent
7b20c0ed4b
commit
9441550acb
5 changed files with 17 additions and 2 deletions
|
@ -264,8 +264,12 @@ foreach my $narArchive (@narArchives) {
|
|||
print STDERR "uploading manifest...\n";
|
||||
if ($localCopy) {
|
||||
copyFile $manifest, $localManifestFile;
|
||||
copyFile "$manifest.bz2", "$localManifestFile.bz2";
|
||||
} else {
|
||||
system("$curl --show-error --upload-file " .
|
||||
"'$manifest' '$manifestPutURL' > /dev/null") == 0 or
|
||||
die "curl failed on $manifest: $?";
|
||||
system("$curl --show-error --upload-file " .
|
||||
"'$manifest'.bz2 '$manifestPutURL'.bz2 > /dev/null") == 0 or
|
||||
die "curl failed on $manifest: $?";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue