rekado pushed a commit to branch master in repository guix. commit e325c890763e89b9baeeeb78110b3a50c822b25a Author: Ricardo Wurmus <ricardo.wur...@mdc-berlin.de> Date: Tue Mar 6 13:55:13 2018 +0100
gnu: r-rhdf5: Make build reproducible. * gnu/packages/bioinformatics.scm (r-rhdf5)[arguments]: Remove timestamp and host system information from settings file. --- gnu/packages/bioinformatics.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 4756444..947f99a 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -8760,6 +8760,16 @@ of gene-level counts.") "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)))