gnu: r-rhdf5: Make build reproducible.

* gnu/packages/bioinformatics.scm (r-rhdf5)[arguments]: Remove timestamp and
host system information from settings file.
This commit is contained in:
Ricardo Wurmus 2018-03-06 13:55:13 +01:00 committed by Ricardo Wurmus
parent fe58ab013b
commit e325c89076
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -8760,6 +8760,16 @@ (define-public r-rhdf5
"src/hdf5source/hdf5small.tgz" "-C" "src/" )
(substitute* "src/hdf5/configure"
(("/bin/mv") "mv"))
;; Remove timestamp and host system information to make
;; the build reproducible.
(substitute* "src/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"))
#t)))))
(propagated-inputs
`(("r-zlibbioc" ,r-zlibbioc)))