about summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2022-08-22 05:28:34 +0300
committerIvan Shapovalov <intelfx@intelfx.name>2022-08-22 05:28:36 +0300
commitac18c55b5698abac81164d66d5a7eabd1ae66c90 (patch)
tree348b0e837c2eacb603a4b66533f216f128b902db /nixos/lib
parent994fa61c56c3be575eaa0680c93e829d231f8a85 (diff)
make-system-tarball: use `pixz -t`
Pass `-t` to pixz to prevent it from appending an index to the end of
the uncompressed stream, confusing tools such as `machinectl import-tar`.

Fixes: #187816
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/make-system-tarball.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/make-system-tarball.nix b/nixos/lib/make-system-tarball.nix
index dab168f4a4813..325792f97e8f3 100644
--- a/nixos/lib/make-system-tarball.nix
+++ b/nixos/lib/make-system-tarball.nix
@@ -22,7 +22,7 @@
   # Extra tar arguments
 , extraArgs ? ""
   # Command used for compression
-, compressCommand ? "pixz"
+, compressCommand ? "pixz -t"
   # Extension for the compressed tarball
 , compressionExtension ? ".xz"
   # extra inputs, like the compressor to use