Subject: [bug#38754] [PATCH 2/2] scripts: lint: Set the %link-checker-store-connection parameter.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 30 Dec 2019 23:12:45 +0100

Christopher Baines <[email-masked]> skribis:

> +    (with-store store
> +      (parameterize
> +          ((%lint-checker-store-connection store))

Actually it means that now ‘guix lint’ systematically connects to the
daemon.

I wonder if we could arrange to open the connection lazily, and to
somehow carry state across linter invocations.  Perhaps
‘check-derivation’ should be monadic, with a field in <checker>
indicating that.  Sounds complicated though.

Thoughts?

Ludo’.