[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: antlr2: Fix reproducibility.
From: |
guix-commits |
Subject: |
01/01: gnu: antlr2: Fix reproducibility. |
Date: |
Wed, 26 Dec 2018 12:58:39 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 79f6fc0d9950eb96ffeea4150b1822e759efa0b7
Author: Julien Lepiller <address@hidden>
Date: Wed Dec 26 17:40:47 2018 +0100
gnu: antlr2: Fix reproducibility.
* gnu/packages/java.scm (antlr2)[arguments]: Add a phase to fix a timestamp
issue.
---
gnu/packages/java.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 054ad67..c607cbb 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6140,6 +6140,11 @@ printed.")
(modify-phases %standard-phases
(add-after 'install 'strip-jar-timestamps
(assoc-ref ant:%standard-phases 'strip-jar-timestamps))
+ (add-before 'configure 'fix-timestamp
+ (lambda _
+ (substitute* "configure"
+ (("^TIMESTAMP.*") "TIMESTAMP=19700101\n"))
+ #t))
(add-after 'configure 'fix-bin-ls
(lambda _
(substitute* (find-files "." "Makefile")