unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Phil <phil@beadling.co.uk>
To: help-guix@gnu.org
Subject: guix-jupyter's ";;guix pin" doesn't support channels.scm?
Date: Wed, 13 Oct 2021 18:23:51 +0100	[thread overview]
Message-ID: <871r4on8ig.fsf@beadling.co.uk> (raw)

Hi all,

Reading:

https://gitlab.inria.fr/guix-hpc/guix-kernel/-/blob/68b525b241cf952940d4bf66e2697c2d1f3722e5/README.org


There is no explanation of how the ";;guix pin" command can pin multiple channels.

Looking at the source code it seems to only try to match the commit id against the contents of %default-channels:

https://gitlab.inria.fr/guix-hpc/guix-kernel/-/blob/341aecd8b4358b1b0a0c94235d7601f92c7b9942/guix-jupyter-kernel.scm#L551


My understanding is that %default-channels won't be augmented with any channels defined in /etc/guix/channels.scm or ~/.config/guix/channels.scm, which means it is impossible to pin any auxiliary channels beyond those defined as defaults.

I note if I run ";;guix describe" without ";;guix pin", all 3 channels are returned as per my /etc/guix/channels.scm - so by default it seems to take set itself using the channels.scm, but then only allows us to pin the main guix channel.


My question is how to I pin multiple channel definitions as part of my notebook?

Will running jupyter inside 'guix time-machine' with a channels.scm file
do this? The only problem I see with this is that we've created an
external file required to define how to run jupyter which breaks the
"everything defined inside the notebook" aim?

Cheers,
Phil.


                 reply	other threads:[~2021-10-13 17:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871r4on8ig.fsf@beadling.co.uk \
    --to=phil@beadling.co.uk \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).