aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index c5b87d8ff6..62b4f63ac9 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1726,7 +1726,14 @@ extremely large and complex data collections.")
;; modifies the test reference.
(substitute* "test/test_check_version.sh.in"
(("TESTING\\(\\).*" all)
- (string-append all "\nSKIP; exit 0\n")))))))))))
+ (string-append all "\nSKIP; exit 0\n")))))
+ (add-after 'patch-configure 'patch-configure-build-settings
+ (lambda _
+ (substitute* "src/H5build_settings.autotools.c.in"
+ ;; Don't record the build-time kernel version to make the
+ ;; library file reproducible.
+ (("@UNAME_INFO@")
+ "Linux"))))))))))
(define-public hdf5
;; Default version of HDF5.