[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: inferior: 'cached-channel-instance' always returns a directory.
From: |
guix-commits |
Subject: |
01/05: inferior: 'cached-channel-instance' always returns a directory. |
Date: |
Mon, 17 Jan 2022 13:09:29 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit a9cc79d9f3a4448b821ebd8f394a1c7b0004a0ba
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jan 17 14:53:04 2022 +0100
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