diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2017-06-15 14:45:08 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-06-15 17:24:34 +0200 |
commit | ec7e9eeae6167bc5b16673d448e710468216ca05 (patch) | |
tree | 2b3ef3dcf825a320d8adc4a15f3d7c9d2c9daf68 | |
parent | c4fd86f9c1efdb6b413dd6b7a00f03a5f9558b8d (diff) | |
download | guix-ec7e9eeae6167bc5b16673d448e710468216ca05.tar.gz guix-ec7e9eeae6167bc5b16673d448e710468216ca05.zip |
gnu: sablevm: Build reproducibly.
* gnu/packages/java.scm (sablevm)[arguments]: Add build phase
"remove-timestamp-for-reproducibility".
-rw-r--r-- | gnu/packages/java.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 1496af7591..7bdf97f98a 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -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" |