diff options
Diffstat (limited to 'gn')
-rw-r--r-- | gn/packages/genenetwork.scm | 7 | ||||
-rw-r--r-- | gn/services/genenetwork.scm | 2 |
2 files changed, 7 insertions, 2 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 _ diff --git a/gn/services/genenetwork.scm b/gn/services/genenetwork.scm index 94769fa..d72590d 100644 --- a/gn/services/genenetwork.scm +++ b/gn/services/genenetwork.scm @@ -136,5 +136,5 @@ NameVirtualHost *:8042 PythonHandler mod_python.testhandler </Location>"))))))))) -;; guix system container -L /path/to/guix-past/modules/ -L /path/to/guix-bioinformatics/ /path/to/guix-bioinformatics/gn/services/genenetwork.scm --network +;; guix system container -L /path/to/guix-past/modules/ -L /path/to/guix-bioinformatics/ /path/to/guix-bioinformatics/gn/services/genenetwork.scm --network --expose=/gnshare/gn/web/genotypes ;; xdg-open http://localhost:8042 |