From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CIeHKjoWZ2FILAAAgWs5BA (envelope-from ) for ; Wed, 13 Oct 2021 19:24:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iCsSJjoWZ2HHVgAA1q6Kng (envelope-from ) for ; Wed, 13 Oct 2021 17:24:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B54038692 for ; Wed, 13 Oct 2021 19:24:09 +0200 (CEST) Received: from localhost ([::1]:52840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mahz5-0002yY-Vz for larch@yhetil.org; Wed, 13 Oct 2021 13:24:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mahyu-0002yP-RV for help-guix@gnu.org; Wed, 13 Oct 2021 13:23:57 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:45868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mahyt-0002Ir-1U for help-guix@gnu.org; Wed, 13 Oct 2021 13:23:56 -0400 Received: by mail-wr1-x444.google.com with SMTP id r10so10694022wra.12 for ; Wed, 13 Oct 2021 10:23:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20210112.gappssmtp.com; s=20210112; h=user-agent:from:to:subject:message-id:date:mime-version; bh=67HyaQ27fQUeA7hGNl7WUZ5bSkfWfp7wC2kuIrDpmIw=; b=rKGr1sCWQFt8IW4NCGQL5uVpBb78ue7UEdSaPvidlgAxk1aDQJfcbZ8/IN5PzjMG3z 59SWEEIxG3yhsLXnBrxPYP5nXshlPmS2norUOTpF0Ut5vwdHEvfK+t0aXxmwJQc0n0Vm OZIDOX9+5jwEB98648hO0ahl6mls1xYQ8LEgAuzi4Ujjm4qMpwP1cVGRKeZjL0rNmEZ8 gioZZYkK/hy+JJEecUNAPQTMNQGC7Bvwl+aQrNpKUlHxkn6o2MahIb9THEH8ICCKLEf9 kqWTEBo6DPWf3mGqtBj5YORh3Z0ErBi3ranx9oIngj7x5wwUsq2OzMkFGrUZUeFLIHAi 02XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=67HyaQ27fQUeA7hGNl7WUZ5bSkfWfp7wC2kuIrDpmIw=; b=O5r1VO8uofzb2VFxtfN5jodYnPNTX3vEP1nuMZqNujf+jFzwkeZvr6fTGU1ug9lMZh 37We6offvR1tFuiPBEd0TAWPXNS0uEDhn2EB0Jmin6/c2FzQRBbZ9rMk1jS6T7RvAk07 QnKfB1oc2ovQEYJxSXo+M46muHbezGhIefG1P/c1q1Dl2s5WZgKygplq43Ua+e00ieRJ O/x3glZn1rPs9dQcXfc8MI9mSx/svmgCwNxump01782it6M91O3J52w/UZ2AS7nR0crM uHN/Ccq+Ruiw6YmkyJHct4Hy+cXsuNCLOu0jkjeRiW1cdreS9GI5nz9QARyu8YtqgByO 1x8Q== X-Gm-Message-State: AOAM5329L5/oorrIIBqcKPB7oxbrRJIIVr2uOJyZb0UpthS2AxiN5GV3 GNpGM1jEdK0uKskQR67Ta6+7sDKwdoOenQIPYtnDwg== X-Google-Smtp-Source: ABdhPJyQFU5m1/1P9C/FqTasiG8JvbmfsbQ6ojrypIbp0FYPPrhXjGhgLGYpPlfoc1d8nE8qHYlgKA== X-Received: by 2002:adf:c70f:: with SMTP id k15mr527265wrg.98.1634145832851; Wed, 13 Oct 2021 10:23:52 -0700 (PDT) Received: from xps13 (host-92-10-211-105.as13285.net. [92.10.211.105]) by smtp.gmail.com with ESMTPSA id u5sm44258wmm.39.2021.10.13.10.23.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 10:23:52 -0700 (PDT) User-agent: mu4e 1.4.15; emacs 27.2 From: Phil To: help-guix@gnu.org Subject: guix-jupyter's ";;guix pin" doesn't support channels.scm? Message-ID: <871r4on8ig.fsf@beadling.co.uk> Date: Wed, 13 Oct 2021 18:23:51 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::444; envelope-from=phil@beadling.co.uk; helo=mail-wr1-x444.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634145850; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=67HyaQ27fQUeA7hGNl7WUZ5bSkfWfp7wC2kuIrDpmIw=; b=VSdUpHCOJ0prtg/1yN7S6JGA3b8t2M3Rt2MZaQZ3l9U1MPK20XF4X1tHSlkiayR/+/PwV3 HmSZRzyqNJ1b5+Z9I48t44QjL46M6zDFNrcwGUZzmCA+sXUVQvUir4+vZgDa621xYose6T MWwWTL2INg0LzYB5liP2znEIedSzduEixV9qXLFBo1PLRCYKLLQAaqqMlMh0odp0kwy3Nq My8M/ibnJLvfphUDJJwOchTROXOfdsHwS977QYm6qO7nysHuIzTzV4gPR4agDScjnKo7rZ vun2Ot15ZvufYowfEAZczI1rC9gw1WsVWTnY1QO7fkj9MYKlMv80A1wD09ROyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634145850; a=rsa-sha256; cv=none; b=UqrLyDJ+KH32aX5qZvzlc0Ht+3e1Z6+7E0kxTLX+m4kHfnBCNuqZ4AWALm+W2324LZAguG fSAZxAee/A47piRzpE4XRELawz2JQZbicCp5MCuUR3+p+AVA0I7+xKrir9P1XCrtomoWTv hzz3ZD1c3Fll5YJ6TQbsOvWGB0DDRlOOWkwxpJzbE1q4quczEopM2B8YHVxsUi6fAp4uvn c9kbKXSLjE2a09UR1BpVUZ3u6izTsnwLF6akja73pGIVenxhCy6AECDLOZ/bks/qEyKMUc eve85I1hWm1zsZMbBISvvF+iGO5nHxq01vJiOWjpO/8/BGwUB2KDpdP6n1YdTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=rKGr1sCW; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=rKGr1sCW; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: B54038692 X-Spam-Score: -1.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: VwWMjbcZvPBu 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.