aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorpjotrp2017-08-29 10:10:39 +0000
committerpjotrp2017-08-29 10:10:39 +0000
commitb618fcdc5ae1324cd9638cfc15bd127ad203d3ec (patch)
tree60c72464f82a5a54a967d3bf3bfeabda3a0c7033 /gn
parent967bb453503c6d7354a2e48b34dc36cefda3db5e (diff)
downloadguix-bioinformatics-b618fcdc5ae1324cd9638cfc15bd127ad203d3ec.tar.gz
Trying to locate GEMMA - not working
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/gemma.scm13
1 files changed, 11 insertions, 2 deletions
diff --git a/gn/packages/gemma.scm b/gn/packages/gemma.scm
index 2b6bba4..62829d6 100644
--- a/gn/packages/gemma.scm
+++ b/gn/packages/gemma.scm
@@ -192,9 +192,18 @@ association studies (GWAS).")
(base32
"16csqx5y63i5z0zkk1nq671n0vba482faskgsp1x1h75majqjdql"))))
(build-system ruby-build-system)
- (propagated-inputs `(("gemma-git-gn2" ,gemma-git-gn2)))
+ (inputs `(("gemma-git-gn2" ,gemma-git-gn2)))
(arguments
- `(#:tests? #f))
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-before
+ 'install 'set-gemma-path
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "bin/gemma-wrapper"
+ (("GEMMA_COMMAND=options[:gemma_command]")
+ (string-append "GEMMA_COMMAND=" (which "gemma"))))))))))
(synopsis
"Gemma wrapper for LOCO and caching")
(description "Gemma wrapper")