summaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-03-10 11:28:35 +0100
committerMathieu Othacehe <othacehe@gnu.org>2021-03-10 13:08:32 +0100
commit8898eaec57f6294221888e6dca1802abdd3d5868 (patch)
tree9198512bfdebd666fd43dab67582606a57684515 /guix/scripts
parente5f89570c1d72c4b674fad6b6ad5591ead02d419 (diff)
Revert "inferior: Break cached-channel-instance into two procedures."
This reverts commit 7d63b775513e7049047222dbe403a4181f63828d because it raises some concerns, see: https://lists.gnu.org/archive/html/guix-devel/2021-03/msg00124.html.
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/time-machine.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/guix/scripts/time-machine.scm b/guix/scripts/time-machine.scm
index c4dca47d1d..0d27414702 100644
--- a/guix/scripts/time-machine.scm
+++ b/guix/scripts/time-machine.scm
@@ -142,8 +142,7 @@ Execute COMMAND ARGS... in an older version of Guix.\n"))
(with-store store
(with-status-verbosity (assoc-ref opts 'verbosity)
(set-build-options-from-command-line store opts)
- (channels->cached-profile
- store channels
- #:authenticate? authenticate?))))
+ (cached-channel-instance store channels
+ #:authenticate? authenticate?))))
(executable (string-append directory "/bin/guix")))
(apply execl (cons* executable executable command-line))))))))