aboutsummaryrefslogtreecommitdiff
path: root/genenetwork
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-10-06 12:33:44 +0300
committerArun Isaac2022-10-06 15:45:28 +0530
commitebd9be9b913d3e1c220b6b5be4636578ee47a2b9 (patch)
tree3a8145425ef4b0e28fab9120e66f2728d0333298 /genenetwork
parent1f24e8812c69914c6d768c0a52b4622025de95ce (diff)
downloadgn-machines-ebd9be9b913d3e1c220b6b5be4636578ee47a2b9.tar.gz
Enable rust backtrace in genenetwork2 CD.
* genenetwork/development-helper.scm (genenetwork2-runner-gexp): Set RUST_BACKTRACE environment variable. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Diffstat (limited to 'genenetwork')
-rw-r--r--genenetwork/development-helper.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/genenetwork/development-helper.scm b/genenetwork/development-helper.scm
index 8707f53..bbb5d6e 100644
--- a/genenetwork/development-helper.scm
+++ b/genenetwork/development-helper.scm
@@ -1,5 +1,6 @@
;;; genenetwork-machines --- Guix configuration for genenetwork machines
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2022 Frederick Muriuki Muriithi <fredmanglis@gmail.com>
;;;
;;; This file is part of genenetwork-machines.
;;;
@@ -130,6 +131,7 @@ files. XAPIAN-DB-PATH is the path to the xapian search index."
(setenv "HOME" "/tmp")
(setenv "NO_REDIS" "no-redis")
(setenv "XAPIAN_DB_PATH" #$xapian-db-path)
+ (setenv "RUST_BACKTRACE" "1")
(invoke "sh" "bin/genenetwork2" "etc/default_settings.py" "-gunicorn-prod")))))))
(define (genenetwork3-runner-gexp genenetwork3-source profile)