mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: r-rhdf5lib: Make build reproducible.
* gnu/packages/bioinformatics.scm (r-rhdf5lib)[arguments]: Remove timestamp and host system kernel version.
This commit is contained in:
parent
d8f46d5234
commit
a539ad867d
1 changed files with 10 additions and 0 deletions
|
@ -10654,6 +10654,16 @@ (define-public r-rhdf5lib
|
|||
(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=.*")
|
||||
|
|
Loading…
Reference in a new issue