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
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -167,6 +167,11 @@ (define sablevm
"--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"