From ebd9be9b913d3e1c220b6b5be4636578ee47a2b9 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 6 Oct 2022 12:33:44 +0300 Subject: Enable rust backtrace in genenetwork2 CD. * genenetwork/development-helper.scm (genenetwork2-runner-gexp): Set RUST_BACKTRACE environment variable. Signed-off-by: Arun Isaac --- genenetwork/development-helper.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'genenetwork') 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 +;;; Copyright © 2022 Frederick Muriuki Muriithi ;;; ;;; 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) -- cgit v1.2.3