gnu: openjdk12: Make reproducible.

* gnu/packages/java.scm (openjdk12)[arguments]<#:phases>[remove-timestamping]:
Modify phase.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Danny Milosavljevic 2023-07-31 20:09:16 +02:00 committed by Ludovic Courtès
parent edf8fc9a48
commit d109a7322c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1652,6 +1652,11 @@ (define-public openjdk12
(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