Commit 0062a5fa authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

kernel: Report build progress for ";;guix pin".

* guix-jupyter-kernel.scm (reply-execute-request): Use
'cached-channel-instance' instead of 'inferior-for-channels'.  Use
'with-build-progress-report'.
parent 3ca22d80
......@@ -534,14 +534,12 @@ stripped."
ch))
%default-channels)))
(format/log "pinning to these channels: ~s~%" channels)
;; TODO: Send a message showing that something's happening.
(catch 'git-error
(lambda ()
(let* ((inferior (inferior-for-channels channels))
(profile (inferior-eval '(begin
(use-modules (guix describe))
(current-profile))
inferior)))
(let* ((store (proxy-state-store state))
(profile (with-build-progress-report kernel message
(cached-channel-instance store channels)))
(inferior (open-inferior profile)))
(reply-for-channels kernel message channels
#:profile profile
#:count count)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment