From d5ab690290f739af95856306246ab0891db43325 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 4 Apr 2023 10:12:31 +0300 Subject: Provide MySQL URI to the xapian indexing script. * genenetwork-development.scm (build-xapian-index-gexp): Provide MySQL URI to the xapian indexing script. --- genenetwork-development.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 688d02f..44814d5 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -1,6 +1,6 @@ ;;; genenetwork-machines --- Guix configuration for genenetwork machines ;;; Copyright © 2022 Arun Isaac -;;; Copyright © 2022 Frederick Muriuki Muriithi +;;; Copyright © 2022, 2023 Frederick Muriuki Muriithi ;;; ;;; This file is part of genenetwork-machines. ;;; @@ -239,7 +239,8 @@ genenetwork3 source from the latest commit of @var{project}." (lambda () ;; Build xapian index. (setenv "PYTHONPATH" (getcwd)) - (invoke "./scripts/index-genenetwork" xapian-build-directory) + (invoke "./scripts/index-genenetwork" xapian-build-directory + "mysql://webqtlout:webqtlout@localhost/db_webqtl") ;; Stop genenetwork3, replace old xapian index and ;; start genenetwork3. (dynamic-wind -- cgit v1.2.3