summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-05-22 16:05:41 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-05-22 16:05:41 +0200
commit0f5ad3a1bcdc20062ee3966296c5dcb99d0be6e9 (patch)
treeb4c89ae92c7f3d3df94a0a76bb19f11ab7d6ee88 /gnu/packages
parent71d3521541d08942d6088892ca6d9eac1f6b0ddc (diff)
downloadguix-0f5ad3a1bcdc20062ee3966296c5dcb99d0be6e9.tar.gz
gnu: bismark: Patch bismark2report before installing.
* gnu/packages/bioinformatics.scm (bismark)[arguments]: Patch file before
installing it.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/bioinformatics.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a6d28be4e3..17b7366fa7 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11624,6 +11624,9 @@ Browser.")
                                "filter_non_conversion"
                                "bam2nuc"
                                "bismark2summary")))
+               (substitute* "bismark2report"
+                 (("\\$RealBin/bismark_sitrep")
+                  (string-append share "/bismark_sitrep")))
                (mkdir-p share)
                (mkdir-p docdir)
                (mkdir-p bin)
@@ -11632,10 +11635,6 @@ Browser.")
                (for-each (lambda (file) (install-file file docdir))
                          docs)
                (copy-recursively "Docs/Images" (string-append docdir "/Images"))
-
-               (substitute* "bismark2report"
-                 (("\\$RealBin/bismark_sitrep")
-                  (string-append share "/bismark_sitrep")))
                (copy-recursively "bismark_sitrep"
                                  (string-append share "/bismark_sitrep"))