~ruther/guix-local

f3467360cbb43e19e33b4046c777540edf07f643 — Maxim Cournoyer 5 months ago 8a80f08
gnu: pharo-vm: Fix reproducibility issue.

* gnu/packages/smalltalk.scm (pharo-vm) [#:phases]
{make-reproducible}: New phase.

Change-Id: I7e06b66c7ac1cf19fd66b6dd91515f286becc43b
1 files changed, 8 insertions(+), 0 deletions(-)

M gnu/packages/smalltalk.scm
M gnu/packages/smalltalk.scm => gnu/packages/smalltalk.scm +8 -0
@@ 94,6 94,14 @@
              "-DVERSION_UPDATE_FROM_GIT=OFF")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'make-reproducible
            (lambda _
              (substitute* "include/pharovm/config.h.in"
                ;; Per (info "(cmake) CMAKE_SYSTEM"), CMAKE_SYSTEM includes
                ;; CMAKE_SYSTEM_VERSION, which is the version of the kernel.
                ;; Do not capture that, as it introduces non-reproducibilities.
                (("\\$\\{CMAKE_SYSTEM}")
                 "${CMAKE_SYSTEM_NAME}"))))
          (add-after 'install 'wrap-ld-library-path
            ;; The following libraries are dlopen'd.
            (lambda* (#:key inputs #:allow-other-keys)