[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: icecat: Improve computed 'icecat-source' tarball.
From: |
guix-commits |
Subject: |
01/02: gnu: icecat: Improve computed 'icecat-source' tarball. |
Date: |
Tue, 19 Mar 2019 22:40:41 -0400 (EDT) |
mhw pushed a commit to branch master
in repository guix.
commit 8cf160e12253d65e9122d56cb602e0907e8c71bc
Author: Mark H Weaver <address@hidden>
Date: Tue Mar 19 19:01:48 2019 -0400
gnu: icecat: Improve computed 'icecat-source' tarball.
* gnu/packages/gnuzilla.scm (icecat-source): When packing the new IceCat
tarball, set the mtime of archived files to early 1980. Remove useless
'string-append' applied to one argument.
---
gnu/packages/gnuzilla.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 785d5c1..6992a7b 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -722,11 +722,15 @@ from forcing GEXP-PROMISE."
(string-append old-icecat-dir "/l10n")
(string-append old-icecat-dir "/debian"))
- (format #t (string-append "Packing new IceCat tarball...~%"))
+ (format #t "Packing new IceCat tarball...~%")
(force-output)
(invoke "tar" "cfa" #$output
- ;; avoid non-determinism in the archive
- "address@hidden"
+ ;; Avoid non-determinism in the archive. We set the
+ ;; mtime of files in the archive to early 1980 because
+ ;; the build process fails if the mtime of source
+ ;; files is pre-1980, due to the creation of zip
+ ;; archives.
+ "address@hidden" ; 1980-01-02 UTC
"--owner=root:0"
"--group=root:0"
"--sort=name"