From e325c890763e89b9baeeeb78110b3a50c822b25a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 6 Mar 2018 13:55:13 +0100 Subject: [PATCH] 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 4756444d95..947f99aa71 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)))