aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-04-04 10:12:31 +0300
committerArun Isaac2023-04-11 15:43:43 +0100
commitd5ab690290f739af95856306246ab0891db43325 (patch)
treeb72ab2913933a495bfaafcefef3de748faec0b65
parentd968a5bbb969a3032f4460afcb294e4672dc5aa6 (diff)
downloadgn-machines-d5ab690290f739af95856306246ab0891db43325.tar.gz
Provide MySQL URI to the xapian indexing script.
* genenetwork-development.scm (build-xapian-index-gexp): Provide MySQL URI to the xapian indexing script.
-rw-r--r--genenetwork-development.scm5
1 files 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 <arunisaac@systemreboot.net>
-;;; Copyright © 2022 Frederick Muriuki Muriithi <fredmanglis@gmail.com>
+;;; Copyright © 2022, 2023 Frederick Muriuki Muriithi <fredmanglis@gmail.com>
;;;
;;; 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