summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-01-17 14:53:04 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-17 19:05:48 +0100
commita9cc79d9f3a4448b821ebd8f394a1c7b0004a0ba (patch)
tree550dda8ed3141832e814b94e14054e2a5ecd32fe
parenteb614420f6f550f738f076dfca17946f6341042a (diff)
downloadguix-a9cc79d9f3a4448b821ebd8f394a1c7b0004a0ba.tar.gz
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).
-rw-r--r--guix/inferior.scm2
1 files changed, 1 insertions, 1 deletions
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