From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 gLAKEHrlkGYFPQAA62LTzQ:P1 (envelope-from ) for ; Fri, 12 Jul 2024 08:12:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gLAKEHrlkGYFPQAA62LTzQ (envelope-from ) for ; Fri, 12 Jul 2024 10:12:42 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=ldK6z2bp; dkim=pass header.d=wolfsden.cz header.s=mail header.b=u4sQAbae; dmarc=pass (policy=none) header.from=wolfsden.cz; 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=1720771962; 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=84c1cEksCodtynqpfA/me3BN4EtbuBxWONbMz+w75qw=; b=uYgJ7N8cfWCsDwsEDWWXjKLTTbNkA5wlISmn9/wisHzZvi05h0pxlLsInPKUkTJ3fOvYIJ lpghOtMVib8RD3N/LPRzTDLZaqxR+9DiGRhesrblTuGPkX3FWo/8JElbM0775jy4cpGMYx rW/Hgss20G1fdTFpnyAobna5p2MLOmR91uBs5Rwq0NiV5ua1pmw2+1rFcKLVGjm4KA2BpP /Uq8fGxOLiAeAJTTrtj54YT3p3FJcSBYBr4h4IfBVEcFPFOe1w3dKjKjepYJ7FS8j9SxYD cCcEMIkxj/IGQQRUuDpGUeH34DTFxQAqsofq1iMt6cGzTe+TDC2Ia+Bf2OEHjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720771962; a=rsa-sha256; cv=none; b=ZkaHIC57QKOfgaftLSn3N+g0O9bPy0hzRPrNUXwVONsEi9asZXRh5helXJLUWWG5wo95xK v6AbL+awOVZYJr39ItbWO7SXDoBZqDfcuO2uz0A0vqFaTdRPPBNJLQ8L9iqZ8MfWgjn0BH VTZOVFhylD0j7vJgdgk5w/FpChyuD7/x6BuwZgW9jAxBcawjvY7z+XFs9YXx5lpCqIQnQP 4nU0cbviSGAc7cMGIt18jsp4yrK4PSgoaJ+U8NyNka4Gxj9/zYUGtygFSEy9hKlDwxSacl QO8LmxQBbrss8qODo5qFckxVwPyv6kB422T5JTyJrRXCm5+M0Zu52HKjH7e5pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=ldK6z2bp; dkim=pass header.d=wolfsden.cz header.s=mail header.b=u4sQAbae; dmarc=pass (policy=none) header.from=wolfsden.cz; 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 E45A960D73 for ; Fri, 12 Jul 2024 10:12:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSBNn-0007i3-1u; Fri, 12 Jul 2024 04:11:59 -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 <~@wolfsden.cz>) id 1sSBNl-0007hl-Nn for help-guix@gnu.org; Fri, 12 Jul 2024 04:11:57 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sSBNg-0000g8-53 for help-guix@gnu.org; Fri, 12 Jul 2024 04:11:57 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 182D1249B9B; Fri, 12 Jul 2024 08:11:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1720771909; bh=2dOfyzfuSWs9O22GbDE+E8t2DGHTMeexD9WEDn5idz8=; h=Date:From:To:Subject; b=ldK6z2bphIS7jD+ooVIPYy4NiOclwHZjMzera4QYIVsPprIac7jKJ5sd8pgcWwmOP 48v0jbzLBx6X2TJXxiD9q20Oxo6umfcDXKOcWZWaC0aAZFpKC5lqSEqTdZngtf3pPi AYR8PiWkCcKvfgHkx5sdFShuVy+Yf/8Mv8EkHPZti6tMEwcfdhr1yRpYaM1zSkR3dY fQrYzsxhQTpH3BkXq4ug4vpOpOBPrhRy1KfteDu6gPsfq6i8m/kH/wF4c02yEEcvCH B4w4UX9Gp/dQu0vV/0oL9Ih7cORLQZqu0jTmAOQKPBZBc1YfVXL+Fi+nS82hfMhjID 2x4OeXKlz36Bd6GJ2q1bidfzlVsv5ybDuIrJ2/CxAJY6cuRiGNaKULUGQkm9goEtgT 47Hj0Ht+kMdWwSbrdTa0ErdDEQ9QrA/nzx1g2XNbIpzIusXbUgWyB66tOeYTnyis0X vqqt8xHCdho/bUGZ6Qj8n4K2d+Ku+QAyu9be2QnmbJzhBWgP+5QS/iJQ9EfQ4Mrp6I gPkP18fXX2VjkOJZQ1QiqM2XzLyohPIVKjjxBbv1P2oqPxM6WK0ys1zrq/33irdiRm +WEAj8aTk7jkzSgVcMWhBgTz/tL2nNGqzW118VL223qyJLeKCavAL+6UBJTj6r/+xL eUk/wz+paY9T0iK8HMbozOEU= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 9FC82249788 for ; Fri, 12 Jul 2024 08:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1720771904; bh=2dOfyzfuSWs9O22GbDE+E8t2DGHTMeexD9WEDn5idz8=; h=Date:From:To:Subject; b=u4sQAbaeddEDKdQ6nlSqpJPPeIFqoVraCzMMJpdeloeyYfWjWFdJ21gHt5ijY4YoW nEe03HybRLkaztJUMv1XbwcR1wE2NO00Mw8kNDJDZXYyxmZO9qqQ3uK8mOio447kl6 jxU4G5lhffFFam/qSQzGtUGCZbsg7LnjlJT2glh0sGZMWvxz64XL4BakpjYtFrEn5R MOi7zcKMuzU9bA3Fakqild/zjszwJftv9q1e4gXKCXdC/lwZjkYjr1zg6By4e/GJ3D JIuVNfk/2MCAzd9pZn6sZJ08vwgxzEJzvpRx6f41eimjUGcvm7RvTTjX1q4bEXdLFy d33yz+MXPzvRt2+8pzqdwoMzobUh3vnGnlBTRoyfSLK2OBIEtltvL6ul7GrHMnalZz O5wvLKc+Ih8ju+ZF1Ovd/0t4EQTEEPhPScAdIlvFXhKA/mb5eAjz5aEFXUX+cga3XI C8I4nOL22m6grwxK1WXdnGE+xszBZR+IcDdsOcRGLbacaAsopPz1JHVOcvY/bG7t9y nFVytpfKWWFOHkb4Niiwu4UwOrT83QiOUI9s5FpPree6L+n7gVrrMqNc//vVKQFmvi T1WTH2jRYc3335teFdZH96SxLG4Cixk9UK3RqvrL+KNrGqHmPMIBcuK4HbmFKVNdIL OuGrmHDnzRUR7kSWoF6SKqMA= Date: Fri, 12 Jul 2024 10:11:43 +0200 From: Tomas Volf <~@wolfsden.cz> To: help-guix@gnu.org Subject: Why are custom channels not available to guix repl? Message-ID: Mail-Followup-To: help-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uYtdRWtDYZv8ZNqT" Content-Disposition: inline Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-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: E45A960D73 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.56 X-Spam-Score: -9.56 X-TUID: 9BDRJzQziJQ0 --uYtdRWtDYZv8ZNqT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I do not understand the behavior of `guix repl', so I hope someone will be able to advice on it. I have pulled custom channels, correctly as far as I can say: ~ $ which guix /home/wolf/.config/guix/current/bin/guix ~ $ guix describe Generation 123 Jul 10 2024 12:08:29 (current) guix efce95e repository URL: https://git.wolfsden.cz/.git/guix branch: master commit: efce95ec77afec0cfc797d4802e329fdb815f26e wolfsden cf8ec30 repository URL: https://git.wolfsden.cz/.git/wolfsden branch: master commit: cf8ec30359010e9a6a0436f4e5eec51bc9c6edbc nonguix 9fe6f07 repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: 9fe6f0751bf5770ef4b2afa7bca0b7e51e1382fd However when I start `guix repl' and try to use modules from those extra channels, it does not work: $ guix repl Loading Guix REPL meta-commands... Increasing build verbosity... Disabling grafting... GNU Guile 3.0.9 Copyright (C) 1995-2023 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guix-user)> ,use (nongnu packages mozilla) While executing meta-command: no code for module (nongnu packages mozilla) When I explore the load path, I can see this: scheme@(guix-user)> ,pp %load-path $2 = ("/gnu/store/a8lqn15kzjh99ncms26qm5hw699i94v5-guix-module-union/share/guile/site/3.0" "/gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9/share/guile/3.0" "/gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9/share/guile/3.0" "/gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9/share/guile/site/3.0" "/gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9/share/guile/site" "/gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9/share/guile" "/home/wolf/.guix-home/profile/share/guile/site/3.0" "/run/current-system/profile/share/guile/site/3.0") What seems interesting here is that it contains ~/.guix-home path, but not ~/.config/guix/current. When I check the ~/.config/guix/current the channels are there: $ ls -1 ~/.config/guix/current/share/guile/site/3.0 COPYING NEWS README README.org gnu gnu.scm guix guix.scm news.txt nongnu nonguix wolfsden And when I manually add it to the load path, it starts to work: scheme@(guix-user)> (add-to-load-path "/home/wolf/.config/guix/current/share/guile/site/3.0") scheme@(guix-user)> ,use (nongnu packages mozilla) scheme@(guix-user)> And I am not sure why that is the case. Usage for `guix repl' says "In the Guix execution environment ...", so I would expect the channels to be available by default. I am pretty sure the pull itself is fine, since I can reconfigure successfully, it is just the `guix repl's behavior I do not get. Thanks in advance for any pointers, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --uYtdRWtDYZv8ZNqT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIyBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmaQ5T8ACgkQL7/ufbZ/ walnOA/2M0oveyjyQhurkr68afW/kzGcqT4FhkDz0q8p+eK+E1dhvlISGDtUrY1B oRqvnuT21IzFzd9vBYu+rnzbEZt3lS3leB/48z8cZW0g+2HY76OG8maFFtShvydN 4xNhGbr+6TvSUVtFE0KviM3n/6Ew/0hMjnTLuoFrLkf7vhoGaV/7cKukaA3vNV5M z1Enh4Nf6YzxHtPlVzscL4xbHUV/5lr/LgETGzH1ikXI6rBzbaa7jONHXGIMvWyh LM7h5f2UJW2bAO4cS9ZCP5VuJbtJu8k7+toSOrgaMIfmRnVVKOiqE1m46Y7SngHt vrxHwO/4gvQxYoHkljb3vxtUByZS4G1E0/TfoPdIZXk0C84sDqF/4ZSmMFbglDzU Qgau8eL3M4lwFx0vJt/hBnJ4/SNjzPj7if/flx8FKrdMX/d7oypzVw2idWN8WOIn MgCeIhYp4wHC8eU+mkC80yNMG/tj3VYONSREaRJchJ3UKokZVilLuHWIf3Xv9+X2 w2HmzSm8YaocU9bSPaV32ZeKbhGuiZLQE0eIWMmlchJD+Gh8OjWcz0iuvdbawxuP kssBFrtdmXo5Sm3ZK+ISRpiwvgcs4WcGBnjL2XXZzI+VSg/VG0pvyuNOAfqUzZ6Z rZOFtq0BLrfJr4Xl8Zg0cgeoD1870Rrk4+FfmE+t83t15n7U2A== =9eXT -----END PGP SIGNATURE----- --uYtdRWtDYZv8ZNqT--