1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-25 11:40:30 +02:00

gnu: sablevm: Build reproducibly.

* gnu/packages/java.scm (sablevm)[arguments]: Add build phase
"remove-timestamp-for-reproducibility".
This commit is contained in:
Ricardo Wurmus
2017-06-15 14:45:08 +02:00
committed by Ricardo Wurmus
parent c4fd86f9c1
commit ec7e9eeae6

View File

@@ -167,6 +167,11 @@ This package provides the classpath library.")
"--with-internal-libpopt=no")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-timestamp-for-reproducibility
(lambda _
(substitute* "src/sablevm/Makefile.in"
(("\\$\\(SVMCOMPILETIME\\)") "(unknown)"))
#t))
(add-after 'unpack 'link-with-popt
(lambda _
(substitute* "src/sablevm/Makefile.in"