aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/gemma.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages/gemma.scm')
-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")