gnu: antlr2: Fix reproducibility.

* gnu/packages/java.scm (antlr2)[arguments]: Add a phase to fix a timestamp issue.
This commit is contained in:
Julien Lepiller 2018-12-26 17:40:47 +01:00
parent 7ba2b27467
commit 79f6fc0d99
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 5 additions and 0 deletions

View File

@ -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")