aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-01-13 17:31:53 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-13 23:11:18 +0100
commitb1fc98d6b063a117fe2bcc19a60c8b9a48301593 (patch)
treeb40f571eb2b4a9d0933f9f49085203622a38e7f0
parent391f22fa3e34ac0ef0c31a422ccfb49c92f744ac (diff)
downloadguix-b1fc98d6b063a117fe2bcc19a60c8b9a48301593.tar
guix-b1fc98d6b063a117fe2bcc19a60c8b9a48301593.tar.gz
inferior: Fix wrong-type-arg error when authentication is disabled.
Fixes <https://issues.guix.gnu.org/53230>. Reported by Andrew Tropin <andrew@trop.in>. Fixes a regression introduced in 9f371f23ebfa20f70b3bfd55dc459b683f21ba91. * guix/inferior.scm (cached-channel-instance): Add call to 'derivation->output-path' when AUTHENTICATE? is false.
-rw-r--r--guix/inferior.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/inferior.scm b/guix/inferior.scm
index febac29766..783be64fa4 100644
--- a/guix/inferior.scm
+++ b/guix/inferior.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2018-2022 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -815,7 +815,7 @@ determines whether CHANNELS are authenticated."
(add-indirect-root* cached)
(return cached))
(mbegin %store-monad
- (add-temp-root* profile)
+ (add-temp-root* (derivation->output-path profile))
(return profile))))))))
(define* (inferior-for-channels channels