From 83b9d121a78e6bb4e3d57474d3e01d0a3c4dd5e9 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 9 Dec 2017 11:26:07 +0100 Subject: [PATCH] gnu: bedtools-2.18: Fix build. * gnu/packages/bioinformatics.scm (bedtools-2.18)[arguments]: Restore custom install phase. Reported by Mark H Weaver . --- gnu/packages/bioinformatics.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index fedc8aec4c..171b13d0d5 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -466,7 +466,19 @@ (define-public bedtools-2.18 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "05vrnr8yp7swfagshzpgqmzk1blnwnq8pq5pckzi1m26w98d63vf")))))) + "05vrnr8yp7swfagshzpgqmzk1blnwnq8pq5pckzi1m26w98d63vf")))) + (arguments + '(#:test-target "test" + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin/"))) + (for-each (lambda (file) + (install-file file bin)) + (find-files "bin" ".*"))) + #t))))))) (define-public ribotaper (package