aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorPjotr Prins2024-04-03 04:57:09 -0500
committerPjotr Prins2024-04-03 04:57:09 -0500
commitfe1e3e87f25c34267c25e1cca1b6063660fb9236 (patch)
treef368fc479047cfee935d35c4c2760625097b96e6 /gn
parent75ff5fe367f6de7d1bb7ad4c3fb29ed97d32bd10 (diff)
downloadguix-bioinformatics-fe1e3e87f25c34267c25e1cca1b6063660fb9236.tar.gz
genenetwork3-stable: copy R script into destination
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/genenetwork.scm10
1 files changed, 9 insertions, 1 deletions
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")