about summary refs log tree commit diff
path: root/guix.scm
diff options
context:
space:
mode:
authorPjotr Prins2026-03-29 10:15:42 +0200
committerPjotr Prins2026-03-29 10:15:42 +0200
commitb3ef15eca284f98ff0e7d2259c5d79cac0724119 (patch)
tree9c90b9dd99e60de8d0a6f843aeac84839de0dd18 /guix.scm
parentdb9974a1b64c643a760c67e30d3787d47cd28a34 (diff)
downloadgenecup-b3ef15eca284f98ff0e7d2259c5d79cac0724119.tar.gz
Move API key into credentials file [AI]
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/guix.scm b/guix.scm
index 748a7f6..0dc9b76 100644
--- a/guix.scm
+++ b/guix.scm
@@ -7,7 +7,9 @@
 ;;
 ;; Development shell:
 ;;
-;;   guix shell -L . -C -N -F genecup-gemini coreutils -- env GEMINI_API_KEY="AIz**" genecup --port 4201
+;;   guix shell -L . -C -N -F genecup-gemini coreutils -- genecup --port 4201
+;;
+;; Note: API key is read from ~/.config/gemini/credentials
 ;;
 
 (define-module (guix)
@@ -183,7 +185,7 @@ access to Gemini models.")
             (lambda* (#:key inputs #:allow-other-keys)
               (delete-file "minipubmed.tgz")
               (let ((pubmed (string-append (assoc-ref inputs "minipubmed")
-                                           "/share/minipubmed")))
+                                           "/share/minipubmed/PubMed")))
                 ;; Patch default pubmed path to store location
                 (substitute* "more_functions.py"
                   (("\\./minipubmed") pubmed)))))
@@ -247,7 +249,6 @@ access to Gemini models.")
     (propagated-inputs
      (list
        python-bcrypt
-       python-dotenv
        python-flask
        python-flask-sqlalchemy
        python-google-genai