mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-06-27 11:04:03 +02:00
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
9f371f23eb.
* guix/inferior.scm (cached-channel-instance): Add call to
'derivation->output-path' when AUTHENTICATE? is false.
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user