gnu: star: Make reproducible.

* gnu/packages/bioinformatics.scm (star)[arguments]: Add build phase
"make-reproducible".
This commit is contained in:
Ricardo Wurmus 2018-01-22 15:47:26 +01:00 committed by Ricardo Wurmus
parent fa5255fd6a
commit 625cdc3fde
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 0 deletions

View File

@ -5563,6 +5563,11 @@ application of SortMeRNA is filtering rRNA from metatranscriptomic data.")
(modify-phases %standard-phases
(add-after 'unpack 'enter-source-dir
(lambda _ (chdir "source") #t))
(add-after 'enter-source-dir 'make-reproducible
(lambda _
(substitute* "Makefile"
(("(COMPILATION_TIME_PLACE=\")(.*)(\")" _ pre mid post)
(string-append pre "Built with Guix" post)))))
(add-after 'enter-source-dir 'do-not-use-bundled-htslib
(lambda _
(substitute* "Makefile"