aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2023-07-31 20:09:16 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:39 +0200
commitd109a7322c0597b4f265df93061886984fca9037 (patch)
tree4a0a31e86310778cdae3b627c5a733b51900fba2 /gnu
parentedf8fc9a485298e9bdb3793221c75d0a4a18177d (diff)
downloadguix-d109a7322c0597b4f265df93061886984fca9037.tar.gz
guix-d109a7322c0597b4f265df93061886984fca9037.zip
gnu: openjdk12: Make reproducible.
* gnu/packages/java.scm (openjdk12)[arguments]<#:phases>[remove-timestamping]: Modify phase. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm5
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