1 line
2.1 KiB
Plaintext
1 line
2.1 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>Hi all,</p> <p>Reading:</p> <p><a href="https://gitlab.inria.fr/guix-hpc/guix-kernel/-/blob/68b525b241cf952940d4bf66e2697c2d1f3722e5/README.org">https://gitlab.inria.fr/guix-hpc/guix-kernel/-/blob/68b525b241cf952940d4bf66e2697c2d1f3722e5/README.org</a></p> <p>​</p> <p>There is no explanation of how the ";;guix pin" command can pin multiple channels.</p> <p>Looking at the source code it seems to only try to match the commit id against the contents of %default-channels:</p> <p><a href="https://gitlab.inria.fr/guix-hpc/guix-kernel/-/blob/341aecd8b4358b1b0a0c94235d7601f92c7b9942/guix-jupyter-kernel.scm#L551">https://gitlab.inria.fr/guix-hpc/guix-kernel/-/blob/341aecd8b4358b1b0a0c94235d7601f92c7b9942/guix-jupyter-kernel.scm#L551</a></p> <p>​</p> <p>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.</p> <p>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.</p> <p>​</p> <p>My question is how to I pin multiple channel definitions as part of my notebook?</p> <p>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?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/__-----_-----__"> /u/__-----_-----__ </a> <br/> <span><a href="https://www.reddit.com/r/GUIX/comments/q0rvpd/guixjupyters_guix_pin_doesnt_support_channelsscm/">[link]</a></span>   <span><a href="https://www.reddit.com/r/GUIX/comments/q0rvpd/guixjupyters_guix_pin_doesnt_support_channelsscm/">[comments]</a></span> |