From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EL3VArCjkmYgRAAAqHPOHw:P1 (envelope-from ) for ; Sat, 13 Jul 2024 15:56:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EL3VArCjkmYgRAAAqHPOHw (envelope-from ) for ; Sat, 13 Jul 2024 17:56:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=j1xRoRk3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720886192; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0SsBbbZikJHUMn7908YMD2Ekkq6Mr0FxN3hMhElggAQ=; b=IFrtBJs0GnqNaWC3b0QdYvCoF/8AWD880ljZCUdMlT0LXslo1OzoHvGj+blfQAvOJf92qT u1F7doUcfMJetKLjRIz2EYvMOHsPlYjYA5gZR4bWcMJR5BoHt2ewru9QtT8zfyaVKpIAI6 hZoEAHO1fS5cLsY3+MePwIk8MfVZ4P5AtfsXhq4QGQohNUonC/NdYRU0Prqjlar9uc1Xuz a6Ma8Cxxtgh5IBFUxigNuytCQ4GAdubpKGNR23O1tKmToQirB1ExBAogaWbokKB2vSSOPV jnNCnCxrWQ8VBs76L+rlEJ9DtIzcuZIjtEYZAQB9RZWH4khl2Zo3v2IHqhjYsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720886192; a=rsa-sha256; cv=none; b=Qf+Ap4FtJLgpJjgs/N+eTgj9Jb5vq3SyGmL6X3g3Im3pL/tA85+8E4FJcxlio7Zo/nfxqt O104ZbKRcB5JtfPVupJIbXlaa9exfChkGi0epkt4vd7wx7ETE5X6s2is+rnlRxmg84HacL 4ts4y0/SoOIrM4l6m3vQsc94PMSGdHSS4aoDXGw2UXuFRGOPK95ham6ACncDE2vckmQ1H+ uoAjEq86yN978wYBTmyDzyYYhFoUy4L2EkyeIIWziQHp1ZXJePL/EECo4O32NthfnwJ0h3 TFv/d7DMaOtiouwhVdR3a4nIwgKo3aQ/ODndyUAaoDWlAT2z4RmgO6mmMOhImw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=j1xRoRk3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" 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 D52843192D for ; Sat, 13 Jul 2024 17:56:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSf6K-0005CX-K9; Sat, 13 Jul 2024 11:55:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sSf6I-0005CO-Ll for help-guix@gnu.org; Sat, 13 Jul 2024 11:55:54 -0400 Received: from mail-qv1-xf41.google.com ([2607:f8b0:4864:20::f41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sSf6G-0001dm-SM; Sat, 13 Jul 2024 11:55:54 -0400 Received: by mail-qv1-xf41.google.com with SMTP id 6a1803df08f44-6b5fa0f5cd4so2233696d6.1; Sat, 13 Jul 2024 08:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720886150; x=1721490950; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=0SsBbbZikJHUMn7908YMD2Ekkq6Mr0FxN3hMhElggAQ=; b=j1xRoRk3ZKJ0oVaGS3qEJHEdZWKqd8mvzk28cxS8qVyJ+H1SCoxPR5eLSve0NjOJJF NEtWmWkOl6tanryo5IuC1g1dVWKl+qRM76+rX0ny/ANGXlJzyDVL0rcC9Rm9UxvBSgQq /4otFCPKCp3tB2beY7uW7cLN2+ZYHSWLDRSC4x4PCHRl7x+VfLH65fw4oa+zYjLph5Ld QVDnGTtF2bIe+z+TH1xNb1t4oJRCQQvQ1a4pmpFmXDA2PZSWs3ZAypy3nAxMokNwKRF6 1FPxLy1hdZT9hzlrqHCiaUrE4OFPcNaKbpZK2xzx1lqsKFtCfhxQbePnorIg+QGrQUff GTCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720886150; x=1721490950; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0SsBbbZikJHUMn7908YMD2Ekkq6Mr0FxN3hMhElggAQ=; b=LbN0fAX/x5NQQLQGVDo9FKW+cFX7Z6C/JBZhx5rin/+nw83+4JK109RzDR+N77XTOA KdS7FlErG5Se+I+S9dwGVNPw8QIW9WjGYGJ8lgfEn48U9PavjRLkFZU3292p43SiyXOD thdugmdoI1haVPxRwAsOoxKLjjHzK7jV4CqVnD2KiAuMrhXINy5062SG7CEWA+TMRCSC LvJSQGhmM8UETMX4jgx7g2CT+XnZpgZYHM/GBwwRcoPje19Pdj7yIn0ItVKUA98ovg83 aqevpqe4NesfHBPiHbj+bYwVQEU2pbP4kfr4YXsePPxxeHsL/jm9RaQjvUwGlbrHkiw5 txXg== X-Forwarded-Encrypted: i=1; AJvYcCVoiZM9DGReYfb33tHxUoYM0/xKYOHIa3g+LRoWjR400DKbY/YJmpQlNjSuqe1+36Ns3VTTYUyeRUkKebjpTwVGpQ== X-Gm-Message-State: AOJu0YyCkuwzmWzxwIHgWCSlbzy6ZgNEQZukHdDxmmHdN1g9KY0/elm4 VRsA6C7kUrl35eGCd6Sb0rwHPbHZSJOXHKBYC/KKE5pMH+xhR/VOoIf9jajg X-Google-Smtp-Source: AGHT+IEYxuFt2S8IkEoL9gjPG9OuoIGnMUXNDN57yct6BX2MveMX5tSOFeOVSpJC2GIJfuakZTpWmg== X-Received: by 2002:a0c:d64c:0:b0:6b5:e0af:a85d with SMTP id 6a1803df08f44-6b74b1dbffdmr73693416d6.3.1720886150174; Sat, 13 Jul 2024 08:55:50 -0700 (PDT) Received: from gnus ([65.93.169.47]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b761a0f983sm5833576d6.91.2024.07.13.08.55.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jul 2024 08:55:49 -0700 (PDT) From: Suhail Singh To: Richard Sent Cc: ludo@gnu.org, help-guix@gnu.org Subject: Re: Why are custom channels not available to guix repl? In-Reply-To: (Tomas Volf's message of "Sat, 13 Jul 2024 16:49:02 +0200") References: <87plriwvam.fsf@freakingpenguin.com> Date: Sat, 13 Jul 2024 11:55:39 -0400 Message-ID: <87v819477o.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f41; envelope-from=suhailsingh247@gmail.com; helo=mail-qv1-xf41.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: D52843192D X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.75 X-Spam-Score: -8.75 X-TUID: b27kUtv5Ng2f Tomas Volf <~@wolfsden.cz> writes: > Thank you very much, I can just stuff it into .guile for now. For the benefit of others on the mailing list, something like the below in .guile ensures that the customization runs only for guix repl: #+begin_src scheme (when (equal? (module-name (current-module)) '(guix-user)) ;; `guix repl`-only init code ;; ensure custom channels are available in guix repl (use-modules (gnu packages)) ;; ) #+end_src -- Suhail