summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-07-22 17:58:16 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-07-22 17:58:16 +0200
commit3e95125e9bd0676d4a9add9105217ad3eaef3ff0 (patch)
treed0518e22ba869be6953819d2bcdad8354b58aa30
parent08b87ab0dfa4bae0eb57f3d8915f655bf20d94fc (diff)
downloadguix-3e95125e9bd0676d4a9add9105217ad3eaef3ff0.tar.gz
Revert "packages: Enable threaded compression of source tarballs."
Threaded compression makes tarballs non-deterministic: the result depends on
the number of threads used for compressing.  See <https://bugs.gnu.org/31015>.

This reverts commit c8a3dea847bb9f87fa1876d0c6c3356d6226f121.
-rw-r--r--guix/packages.scm5
1 files changed, 0 insertions, 5 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index c762fa7c39..cc1f11ace2 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -629,11 +629,6 @@ specifies modules in scope when evaluating SNIPPET."
               (apply invoke
                      (string-append #+tar "/bin/tar")
                      "cvf" #$output
-                     ;; The bootstrap xz does not support
-                     ;; threaded compression (introduced in
-                     ;; 5.2.0), but it ignores the extra flag.
-                     (string-append "--use-compress-program="
-                                    #+xz "/bin/xz --threads=0")
                      ;; avoid non-determinism in the archive
                      "--mtime=@0"
                      "--owner=root:0"