inferior: 'cached-channel-instance' always returns a directory.

This is a followup to b1fc98d6b0.

* guix/inferior.scm (cached-channel-instance): When AUTHENTICATE? is
false, return (derivation->output-path profile).
This commit is contained in:
Ludovic Courtès 2022-01-17 14:53:04 +01:00
parent eb614420f6
commit a9cc79d9f3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -816,7 +816,7 @@ (define add-temp-root*
(return cached))
(mbegin %store-monad
(add-temp-root* (derivation->output-path profile))
(return profile))))))))
(return (derivation->output-path profile)))))))))
(define* (inferior-for-channels channels
#:key