diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2023-07-31 20:09:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:44:39 +0200 |
commit | d109a7322c0597b4f265df93061886984fca9037 (patch) | |
tree | 4a0a31e86310778cdae3b627c5a733b51900fba2 | |
parent | edf8fc9a485298e9bdb3793221c75d0a4a18177d (diff) | |
download | guix-d109a7322c0597b4f265df93061886984fca9037.tar guix-d109a7322c0597b4f265df93061886984fca9037.tar.gz |
gnu: openjdk12: Make reproducible.
* gnu/packages/java.scm (openjdk12)[arguments]<#:phases>[remove-timestamping]:
Modify phase.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-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 4188285a07..257483b9e3 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1652,6 +1652,11 @@ new Date();")) (string-append "Interpreter specific version of call_VM_base\n" " using MacroAssembler::call_VM_leaf_base;")))))) #~()) + (replace 'remove-timestamping + (lambda _ + (substitute* "src/hotspot/share/runtime/vm_version.cpp" + (("__DATE__") "") + (("__TIME__") "")))) (replace 'fix-java-shebangs (lambda _ ;; 'blocked' was renamed to 'blacklisted' in this version for |