guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: star: Make reproducible.


From: Ricardo Wurmus
Subject: 01/02: gnu: star: Make reproducible.
Date: Mon, 22 Jan 2018 16:49:53 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 625cdc3fdeb16c422db8967e7bf7f4bcb424821e
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Jan 22 15:47:26 2018 +0100

    gnu: star: Make reproducible.
    
    * gnu/packages/bioinformatics.scm (star)[arguments]: Add build phase
    "make-reproducible".
---
 gnu/packages/bioinformatics.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 31d5213..c96d462 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]