mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-29 04:01:28 -06:00
gnu: pharo-vm: Fix reproducibility issue.
* gnu/packages/smalltalk.scm (pharo-vm) [#:phases]
{make-reproducible}: New phase.
Change-Id: I7e06b66c7ac1cf19fd66b6dd91515f286becc43b
This commit is contained in:
parent
8a80f086e9
commit
f3467360cb
1 changed files with 8 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue