about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-08-15 03:34:34 -0500
committerFrederick Muriuki Muriithi2025-08-18 14:47:09 -0500
commitd09ad353e221a1d7896192ec790319fca16b7a56 (patch)
treed39549e3691ae179b691cf42903356113f8cf460
parent8e29c4b888048a02737de34cab48670770dbce8b (diff)
downloadgn-machines-d09ad353e221a1d7896192ec790319fca16b7a56.tar.gz
filesystem mappings: Expose gn-docs checkout parent to pola-wrapper.
-rw-r--r--genenetwork/services/genenetwork.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index 566d7ce..a3cba07 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -657,9 +657,9 @@ a @code{<genenetwork-configuration>} record."
                     #:preserved-environment-variables
                     (map first gn-guile-settings)
                     #:mappings (list (file-system-mapping
-                                      (source gn-doc-git-checkout)
-                                      (target source)
-                                      (writable? #t)))
+                                       (source (dirname gn-doc-git-checkout))
+                                       (target source)
+                                       (writable? #t)))
                     #:namespaces (delq 'net %namespaces))
                  "127.0.0.1" #$(number->string gn-guile-port))
            #:user "genenetwork"