cbaines pushed a commit to branch trunk
in repository data-service.
commit f56cae63fc4d693e4a34250930c3328dd9925d67
Author: Christopher Baines <[email protected]>
AuthorDate: Mon Mar 10 08:27:42 2025 +0000
Fix the --repl option
---
scripts/guix-data-service.in | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/scripts/guix-data-service.in b/scripts/guix-data-service.in
index 2244c0e..238483d 100644
--- a/scripts/guix-data-service.in
+++ b/scripts/guix-data-service.in
@@ -143,10 +143,7 @@
(let ((opts (parse-options (cdr (program-arguments)))))
(when (assq-ref opts 'repl)
((@@ (ice-9 top-repl) call-with-sigint)
- (lambda ()
- (with-postgresql-connection-per-thread
- "repl"
- start-repl)))
+ start-repl)
(exit 0))
(let ((repl-port (assoc-ref opts 'listen-repl)))