Subject: [bug#78277] [PATCH] ui: Allow evaluating multi-expressions strings with read/eval.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 07 May 2025 17:27:50 +0200

Hi,

Maxim Cournoyer <[email-masked]> writes:

> This can be useful when evaluating a scheme->file store output for example,
> which has multiple top level expressions.
>
> * guix/ui.scm (read/eval): Also accept a port object as argument.  Read and
> evaluate all expressions from input port or string.
>
> Change-Id: I0213706fa4824c3a8ffe5d93f44f263048cb62c2

Very useful, thanks!

Perhaps you can add a test for example with ‘guix build -e’ in
‘tests/guix-build.sh’?

Otherwise, LGTM.

Ludo’.