diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm index 4b8c74bed2..f6f22a14a0 100644 --- a/gnu/packages/smalltalk.scm +++ b/gnu/packages/smalltalk.scm @@ -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)