From fe1e3e87f25c34267c25e1cca1b6063660fb9236 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 3 Apr 2024 04:57:09 -0500 Subject: genenetwork3-stable: copy R script into destination --- gn/packages/genenetwork.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gn') diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 20e91be..af0fea3 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -356,13 +356,21 @@ (version (string-append (git-version "3.11" revision commit))) (arguments (list + #:tests? #f #:phases #~(modify-phases %standard-phases (add-before 'build 'update-paths (lambda _ (substitute* "gn3/api/rqtl.py" (("scripts/rqtl_wrapper.R)") - (string-append #$output "/scripts/rqtl_wrapper.R")))))))) + (string-append #$output "/scripts/rqtl_wrapper.R"))))) + (add-before 'install 'install-scripts + (lambda _ + (begin + (mkdir (string-append #$output "scripts")) + (install-file "scripts/rqtl_wrapper.R" + (string-append #$output "/scripts")))))))) + (source (git-checkout (url "https://github.com/genenetwork/genenetwork3") -- cgit v1.2.3