aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2018-01-22 15:47:26 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-01-22 22:49:10 +0100
commit625cdc3fdeb16c422db8967e7bf7f4bcb424821e (patch)
tree0c281ae18ca7814a9fb742048f322ae87640731d
parentfa5255fd6a8c50fd03347e85a8dededf179d1101 (diff)
downloadguix-625cdc3fdeb16c422db8967e7bf7f4bcb424821e.tar
guix-625cdc3fdeb16c422db8967e7bf7f4bcb424821e.tar.gz
gnu: star: Make reproducible.
* gnu/packages/bioinformatics.scm (star)[arguments]: Add build phase "make-reproducible".
-rw-r--r--gnu/packages/bioinformatics.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 31d5213f95..c96d462445 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -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"