about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--genenetwork-development.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index a11bc56..8441c93 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -514,6 +514,7 @@ server described by CONFIG, a <genenetwork-configuration> object."
               (invoke "git" "log" "--max-count" "1")
               (hline))
 
+	    (setenv "TERM" "xterm-256color")
             ;; Clone the latest genenetwork2
             ;; repositories.
 	    (with-directory-excursion
@@ -536,6 +537,18 @@ server described by CONFIG, a <genenetwork-configuration> object."
             (setenv "REQUESTS_CA_BUNDLE" (string-append
                                           (getenv "GN2_PROFILE")
                                           "/etc/ssl/certs/ca-certificates.crt"))
+	    (setenv "PYTHONPATH" (string-append
+				  (getenv "GN2_PROFILE")
+				  "/lib/python3.11/site-packages"))
+	    (setenv "PATH" (string-append (getenv "GN2_PROFILE") "/bin:$PATH"))
+	    (setenv "R_LIBS_SITE" (string-append (getenv "GN2_PROFILE") "/site-library"))
+	    (setenv "JS_GUIX_PATH" (string-append (getenv "GN2_PROFILE") "/share/genenetwork2/javascript"))
+	    (setenv "GUIX_GENENETWORK_FILES" (string-append (getenv "GN2_PROFILE") "/share/genenetwork2"))
+	    (setenv "GENENETWORK_FILES" #$genotype-files)
+	    (setenv "PLINK_COMMAND" (string-append (getenv "GN2_PROFILE") "/bin/plink2"))
+	    (setenv "GEMMA_COMMAND" (string-append (getenv "GN2_PROFILE") "/bin/gemma"))
+	    (setenv "GEMMA_WRAPPER_COMMAND" (string-append (getenv "GN2_PROFILE") "/bin/gemma-wrapper"))
+	    (setenv "HOME" "/tmp")
             (setenv
              "GN2_SETTINGS"
              #$(mixed-text-file "gn2.conf"