From 1d6fc7b75163e564ff2708662e9d6e75d899b379 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 15 May 2024 18:22:32 +0100 Subject: Work around the broken with-store/non-blocking --- guix-build-coordinator/coordinator.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'guix-build-coordinator') diff --git a/guix-build-coordinator/coordinator.scm b/guix-build-coordinator/coordinator.scm index e859f8a..091c821 100644 --- a/guix-build-coordinator/coordinator.scm +++ b/guix-build-coordinator/coordinator.scm @@ -50,6 +50,7 @@ #:use-module (prometheus) #:use-module ((guix build syscalls) #:select (set-thread-name)) + #:use-module (guix store) #:use-module (guix derivations) #:use-module (guix build utils) #:use-module (guix-build-coordinator utils) @@ -423,6 +424,11 @@ ;; The logger assumes this (set-port-encoding! (current-output-port) "UTF-8") + ;; Work around my broken with-store/non-blocking in Guix + (let ((socket-file (%daemon-socket-uri))) + (%daemon-socket-uri + (string-append "file://" socket-file))) + (with-exception-handler (lambda (exn) (simple-format #t "failed enabling core dumps: ~A\n" exn)) -- cgit v1.2.3