me
/
guix
Archived
1
0
Fork 0

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 c8a3dea847.
master
Marius Bakke 2018-07-22 17:58:16 +02:00
parent 08b87ab0df
commit 3e95125e9b
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 0 additions and 5 deletions

View File

@ -629,11 +629,6 @@ specifies modules in scope when evaluating SNIPPET."
(apply invoke (apply invoke
(string-append #+tar "/bin/tar") (string-append #+tar "/bin/tar")
"cvf" #$output "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 ;; avoid non-determinism in the archive
"--mtime=@0" "--mtime=@0"
"--owner=root:0" "--owner=root:0"