Adapt to the different inferior error handling

In recent versions of Guix on the Guix Data Service side, I don't think these
are system-error's, but a different type. For compatibility, just catch any
error.
This commit is contained in:
Christopher Baines 2020-04-20 08:18:59 +01:00
parent c4969eb33f
commit 780ce66272

View file

@ -1073,7 +1073,7 @@ WHERE job_id = $1"
;; Normalise the locale for the inferior process ;; Normalise the locale for the inferior process
(catch (catch
'system-error #t
(lambda () (lambda ()
(inferior-eval '(setlocale LC_ALL "en_US.utf8") inf)) (inferior-eval '(setlocale LC_ALL "en_US.utf8") inf))
(lambda (key . args) (lambda (key . args)