aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-03-09 11:40:59 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-09 11:40:59 +0100
commita539ad867da9d02d50330c1454e924cf3587f7c6 (patch)
tree48deb6d170bd9666f15132d09fd77d2dca9b972f /gnu
parentd8f46d52343972af6734c28cce94559e1c78481f (diff)
downloadguix-a539ad867da9d02d50330c1454e924cf3587f7c6.tar
guix-a539ad867da9d02d50330c1454e924cf3587f7c6.tar.gz
gnu: r-rhdf5lib: Make build reproducible.
* gnu/packages/bioinformatics.scm (r-rhdf5lib)[arguments]: Remove timestamp and host system kernel version.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 92549d3c75..14e2a0daac 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -10654,6 +10654,16 @@ block processing.")
(invoke "tar" "xvf" (assoc-ref inputs "hdf5-source"))
(rename-file (string-append "hdf5-" ,(package-version hdf5))
"hdf5")
+ ;; Remove timestamp and host system information to make
+ ;; the build reproducible.
+ (substitute* "hdf5/src/libhdf5.settings.in"
+ (("Configured on: @CONFIG_DATE@")
+ "Configured on: Guix")
+ (("Uname information:.*")
+ "Uname information: Linux\n")
+ ;; Remove unnecessary store reference.
+ (("C Compiler:.*")
+ "C Compiler: GCC\n"))
(rename-file "Makevars.in" "Makevars")
(substitute* "Makevars"
(("HDF5_CXX_LIB=.*")