diff options
author | Pjotr Prins | 2024-04-03 04:57:09 -0500 |
---|---|---|
committer | Pjotr Prins | 2024-04-03 04:57:09 -0500 |
commit | fe1e3e87f25c34267c25e1cca1b6063660fb9236 (patch) | |
tree | f368fc479047cfee935d35c4c2760625097b96e6 | |
parent | 75ff5fe367f6de7d1bb7ad4c3fb29ed97d32bd10 (diff) | |
download | guix-bioinformatics-fe1e3e87f25c34267c25e1cca1b6063660fb9236.tar.gz |
genenetwork3-stable: copy R script into destination
-rw-r--r-- | gn/packages/genenetwork.scm | 10 |
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") |