emacs/var/elfeed/db/data/45/452ac217242414bd2cf709214ee05280c3bfb1af
2022-01-03 12:49:32 -06:00

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>&#x200B;</p> <p>There is no explanation of how the &quot;;;guix pin&quot; 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>&#x200B;</p> <p>My understanding is that %default-channels won&#39;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 &quot;;;guix describe&quot; without &quot;;;guix pin&quot;, 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>&#x200B;</p> <p>My question is how to I pin multiple channel definitions as part of my notebook?</p> <p>Will running jupyter inside &#39;guix time-machine&#39; with a channels.scm file do this? The only problem I see with this is that we&#39;ve created an external file required to define how to run jupyter which breaks the &quot;everything defined inside the notebook&quot; aim?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <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> &#32; <span><a href="https://www.reddit.com/r/GUIX/comments/q0rvpd/guixjupyters_guix_pin_doesnt_support_channelsscm/">[comments]</a></span>