aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorEfraim Flashner2020-09-03 08:50:40 -0500
committerEfraim Flashner2020-09-03 08:50:40 -0500
commit75a26aae1f32a67ba12acd77d6db40c1dbdb606a (patch)
tree2391889c1c044680317bb8dfe33e7e0c5ffb2723 /gn/packages
parent1775e961db8690556793aea2966fab5ac976f277 (diff)
downloadguix-bioinformatics-75a26aae1f32a67ba12acd77d6db40c1dbdb606a.tar.gz
gn: Provide genotypes folder in container.
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/genenetwork.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index b534ae7..be56676 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -786,8 +786,13 @@ written in C")
;; Where the database is located:
(("tux01") "localhost"))
;(("tux01.uthsc.edu") "lily.uthsc.edu"))
- ;; This directory is expected to be writable
+ ;; This directory is expected to be writable.
+ ;; /tmp is private inside the container.
(symlink "/tmp" "web/tmp")
+ ;; We mount the genotypes folder in the OS-config and
+ ;; provide the symlink to that point in the package.
+ ;; And now the directory is magically available!
+ (symlink "/gnshare/gn/web/genotypes" "web/genotypes")
#t)))
(add-after 'unpack 'use-local-links
(lambda _