From a9cc79d9f3a4448b821ebd8f394a1c7b0004a0ba Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 17 Jan 2022 14:53:04 +0100 Subject: inferior: 'cached-channel-instance' always returns a directory. This is a followup to b1fc98d6b063a117fe2bcc19a60c8b9a48301593. * guix/inferior.scm (cached-channel-instance): When AUTHENTICATE? is false, return (derivation->output-path profile). --- guix/inferior.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/inferior.scm b/guix/inferior.scm index 783be64fa4..572114f626 100644 --- a/guix/inferior.scm +++ b/guix/inferior.scm @@ -816,7 +816,7 @@ determines whether CHANNELS are authenticated." (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 -- cgit v1.2.3