summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-11-05 15:38:23 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-11-08 16:09:56 +0900
commitf3467360cbb43e19e33b4046c777540edf07f643 (patch)
tree2c19eb0827277595f495a15a03d35bea6fd867be
parent8a80f086e92029980a9a9eaee66f226a03511105 (diff)
gnu: pharo-vm: Fix reproducibility issue.
* gnu/packages/smalltalk.scm (pharo-vm) [#:phases] {make-reproducible}: New phase. Change-Id: I7e06b66c7ac1cf19fd66b6dd91515f286becc43b
-rw-r--r--gnu/packages/smalltalk.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm
index 4b8c74bed29..f6f22a14a04 100644
--- a/gnu/packages/smalltalk.scm
+++ b/gnu/packages/smalltalk.scm
@@ -94,6 +94,14 @@
94 "-DVERSION_UPDATE_FROM_GIT=OFF") 94 "-DVERSION_UPDATE_FROM_GIT=OFF")
95 #:phases 95 #:phases
96 #~(modify-phases %standard-phases 96 #~(modify-phases %standard-phases
97 (add-after 'unpack 'make-reproducible
98 (lambda _
99 (substitute* "include/pharovm/config.h.in"
100 ;; Per (info "(cmake) CMAKE_SYSTEM"), CMAKE_SYSTEM includes
101 ;; CMAKE_SYSTEM_VERSION, which is the version of the kernel.
102 ;; Do not capture that, as it introduces non-reproducibilities.
103 (("\\$\\{CMAKE_SYSTEM}")
104 "${CMAKE_SYSTEM_NAME}"))))
97 (add-after 'install 'wrap-ld-library-path 105 (add-after 'install 'wrap-ld-library-path
98 ;; The following libraries are dlopen'd. 106 ;; The following libraries are dlopen'd.
99 (lambda* (#:key inputs #:allow-other-keys) 107 (lambda* (#:key inputs #:allow-other-keys)