gnu: bismark: Patch bismark2report before installing.

* gnu/packages/bioinformatics.scm (bismark)[arguments]: Patch file before
installing it.
This commit is contained in:
Ricardo Wurmus 2018-05-22 16:05:41 +02:00
parent 71d3521541
commit 0f5ad3a1bc
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 4 deletions

View File

@ -11624,6 +11624,9 @@ Browser.")
"filter_non_conversion" "filter_non_conversion"
"bam2nuc" "bam2nuc"
"bismark2summary"))) "bismark2summary")))
(substitute* "bismark2report"
(("\\$RealBin/bismark_sitrep")
(string-append share "/bismark_sitrep")))
(mkdir-p share) (mkdir-p share)
(mkdir-p docdir) (mkdir-p docdir)
(mkdir-p bin) (mkdir-p bin)
@ -11632,10 +11635,6 @@ Browser.")
(for-each (lambda (file) (install-file file docdir)) (for-each (lambda (file) (install-file file docdir))
docs) docs)
(copy-recursively "Docs/Images" (string-append docdir "/Images")) (copy-recursively "Docs/Images" (string-append docdir "/Images"))
(substitute* "bismark2report"
(("\\$RealBin/bismark_sitrep")
(string-append share "/bismark_sitrep")))
(copy-recursively "bismark_sitrep" (copy-recursively "bismark_sitrep"
(string-append share "/bismark_sitrep")) (string-append share "/bismark_sitrep"))