* Compress Nix archives when pushing them.
This commit is contained in:
parent
9bcc31c941
commit
822c072cfa
4 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,3 @@
|
|||
#! /bin/sh
|
||||
|
||||
/tmp/nix/bin/nix --dump --file "$path" > $out || exit 1
|
||||
/tmp/nix/bin/nix --dump --file "$path" | bzip2 > $out || exit 1
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#! /bin/sh
|
||||
|
||||
/tmp/nix/bin/nix --restore "$out" < $nar || exit 1
|
||||
bunzip2 < $nar | /tmp/nix/bin/nix --restore "$out" || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue