mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: antlr2: Fix reproducibility.
* gnu/packages/java.scm (antlr2)[arguments]: Add a phase to fix a timestamp issue.
This commit is contained in:
parent
7ba2b27467
commit
79f6fc0d99
1 changed files with 5 additions and 0 deletions
|
@ -6140,6 +6140,11 @@ (define-public antlr2
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'strip-jar-timestamps
|
(add-after 'install 'strip-jar-timestamps
|
||||||
(assoc-ref ant:%standard-phases '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
|
(add-after 'configure 'fix-bin-ls
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* (find-files "." "Makefile")
|
(substitute* (find-files "." "Makefile")
|
||||||
|
|
Loading…
Reference in a new issue