From 096589035ed154b6ecb4619ca8cdde208be1b8da Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 19 Mar 2018 20:53:27 +0100 Subject: gnu: bismark: Fix references to gunzip. * gnu/packages/bioinformatics.scm (bismark)[arguments]: Keep reference to gunzip executable. [inputs]: Add gzip. --- gnu/packages/bioinformatics.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index a6dcc63bf3..af994c6a89 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -11514,7 +11514,7 @@ Browser.") (delete 'configure) (delete 'build) (replace 'install - (lambda* (#:key outputs #:allow-other-keys) + (lambda* (#:key inputs outputs #:allow-other-keys) (let ((bin (string-append (assoc-ref outputs "out") "/bin")) (docdir (string-append (assoc-ref outputs "out") @@ -11537,7 +11537,16 @@ Browser.") scripts) (for-each (lambda (file) (install-file file docdir)) docs) + ;; Fix references to gunzip + (substitute* (map (lambda (file) + (string-append bin "/" file)) + scripts) + (("\"gunzip -c") + (string-append "\"" (assoc-ref inputs "gzip") + "/bin/gunzip -c"))) #t)))))) + (inputs + `(("gzip" ,gzip))) (home-page "http://www.bioinformatics.babraham.ac.uk/projects/bismark/") (synopsis "Map bisulfite treated sequence reads and analyze methylation") (description "Bismark is a program to map bisulfite treated sequencing -- cgit 1.4.1