mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01: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
|
@ -222,6 +222,14 @@ sub writeManifest
|
|||
|
||||
rename("$manifest.tmp", $manifest)
|
||||
or die "cannot rename $manifest.tmp: $!";
|
||||
|
||||
|
||||
# Create a bzipped manifest.
|
||||
system("@bzip2@ < $manifest > $manifest.bz2.tmp") == 0
|
||||
or die "cannot compress manifest";
|
||||
|
||||
rename("$manifest.bz2.tmp", "$manifest.bz2")
|
||||
or die "cannot rename $manifest.bz2.tmp: $!";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue