Received: (at submit) by debbugs.gnu.org; 17 Nov 2024 13:21:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 08:21:35 2024
Received: from localhost ([127.0.0.1]:56261 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tCfDb-0001SP-1l
for submit <at> debbugs.gnu.org; Sun, 17 Nov 2024 08:21:35 -0500
Received: from lists.gnu.org ([209.51.188.17]:40594)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <~@wolfsden.cz>) id 1tCfDZ-0001SH-8D
for submit <at> debbugs.gnu.org; Sun, 17 Nov 2024 08:21:34 -0500
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 1tCfDX-0003Jn-Up
for bug-guix@HIDDEN; Sun, 17 Nov 2024 08:21:31 -0500
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 1tCfDU-00070d-VD
for bug-guix@HIDDEN; Sun, 17 Nov 2024 08:21:31 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
id CF8363535D0; Sun, 17 Nov 2024 13:21:25 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
t=1731849685; bh=JZt0EAZT3pZ6tPamEB6H1siBqHAmUG/ON2keBECsw74=;
h=From:To:Subject:Date;
b=DFtlkb+dvY5hz14wM4QIfcfXjRV5/CNZHsSX4Jpf96ld9/lMsa7RFUSARSy+9GsRF
443YrqoBcBDrkgR6OYF1vHABfc881rpw5H/RDtj16+0zEARlQCW/GygKaz7Hs9suR3
5yhqwJpm8RjObhDX9Gey9Pyu9Za8ifwZd23eQCTcDUOfKpDq3z/xoUVl7TUD6daL3P
PQYN1eFhiwvVv9sOWwNEzsF8UpXDI2Q50O6FJYoCSNCS+fVpbSYC8nb82uomEVNL4q
M3+iCw3Qs8pzKofVGbhiCy1WVFaOJd5sIxGKha7BoG0I/zeIpfNM3iMULANViwkvoL
hfVsuw0e/n9+ebes92jcDxyp4YY5gegR+Ox5SnKEGMZis57DjmAQxALUFZWvmyqvSF
p2/2mbtNJeOG5uK4l7RWx9q2GWdoU1aRE54n9t8xnaPPKzpaxgRf2sI3kffwkwoE6C
+pufPaau7SZ1onDIESf+h1I+jSglAbzvd1LcM5ru/d5o431QFPUyzg5Yuo3+KLxLIs
eYGQPFTz4vUPs7HwK+fUzG5HoA+9/uhFI3eXp598Wu+sYTITVRiWDxDLLAoQQKRw4/
lh1uIW6om7bL3eUGR/QnE622hET/xMuB+tWz5LhqYnG/O+lQr8QtAymw857CPSV+eD
GKJI0uSfSTgM8bcSNRYzA+Kg=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level:
X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED
autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (unknown [128.0.188.242])
by wolfsden.cz (Postfix) with ESMTPSA id 02A6635362E
for <bug-guix@HIDDEN>; Sun, 17 Nov 2024 13:21:24 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
t=1731849685; bh=JZt0EAZT3pZ6tPamEB6H1siBqHAmUG/ON2keBECsw74=;
h=From:To:Subject:Date;
b=DFtlkb+dvY5hz14wM4QIfcfXjRV5/CNZHsSX4Jpf96ld9/lMsa7RFUSARSy+9GsRF
443YrqoBcBDrkgR6OYF1vHABfc881rpw5H/RDtj16+0zEARlQCW/GygKaz7Hs9suR3
5yhqwJpm8RjObhDX9Gey9Pyu9Za8ifwZd23eQCTcDUOfKpDq3z/xoUVl7TUD6daL3P
PQYN1eFhiwvVv9sOWwNEzsF8UpXDI2Q50O6FJYoCSNCS+fVpbSYC8nb82uomEVNL4q
M3+iCw3Qs8pzKofVGbhiCy1WVFaOJd5sIxGKha7BoG0I/zeIpfNM3iMULANViwkvoL
hfVsuw0e/n9+ebes92jcDxyp4YY5gegR+Ox5SnKEGMZis57DjmAQxALUFZWvmyqvSF
p2/2mbtNJeOG5uK4l7RWx9q2GWdoU1aRE54n9t8xnaPPKzpaxgRf2sI3kffwkwoE6C
+pufPaau7SZ1onDIESf+h1I+jSglAbzvd1LcM5ru/d5o431QFPUyzg5Yuo3+KLxLIs
eYGQPFTz4vUPs7HwK+fUzG5HoA+9/uhFI3eXp598Wu+sYTITVRiWDxDLLAoQQKRw4/
lh1uIW6om7bL3eUGR/QnE622hET/xMuB+tWz5LhqYnG/O+lQr8QtAymw857CPSV+eD
GKJI0uSfSTgM8bcSNRYzA+Kg=
From: Tomas Volf <~@wolfsden.cz>
To: bug-guix@HIDDEN
Subject: System guix masks modules from pulled 3rd-party channels
Mail-Followup-To: bug-guix@HIDDEN
Date: Sun, 17 Nov 2024 14:21:24 +0100
Message-ID: <87cyiu2dyj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
micalg=pgp-sha512; protocol="application/pgp-signature"
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,
RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi,
when system guix produced by the guix-for-channels procedure is
installed, modules in any channel (except in the 'guix) will shadow the
same modules acquired via `guix pull'.
Steps to reproduce:
Have a channels.scm:
=2D-8<---------------cut here---------------start------------->8---
(cons (channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
%default-channels)
=2D-8<---------------cut here---------------end--------------->8---
Pull it, and reconfigure you system using it. After that is done, try
to search for `nongnu/packages/linux.scm' in the path using `guix repl':
=2D-8<---------------cut here---------------start------------->8---
scheme@(guix-user)> ,use (gnu)
scheme@(guix-user)> (search-path %load-path "nongnu/packages/linux.scm")
$1 =3D "/gnu/store/svds1ak4zxdnb5sim3h45q5gk7rzqdr0-nonguix/share/guile/sit=
e/3.0/nongnu/packages/linux.scm"
=2D-8<---------------cut here---------------end--------------->8---
Notice that the file is located in `/gnu/store/*-nonguix/...'.
Now reconfigure your system with the following modify-services:
=2D-8<---------------cut here---------------start------------->8---
(modify-services %base-services
(guix-service-type
config =3D> (guix-configuration
(inherit config)
(guix (guix-for-channels
(cons (channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nong=
uix")
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4=
d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F=
51 20A0 22FB B2D5"))))
%default-channels))))))
=2D-8<---------------cut here---------------end--------------->8---
After you reconfigure you system, try to search for the same file again:
=2D-8<---------------cut here---------------start------------->8---
scheme@(guix-user)> ,use (gnu)
scheme@(guix-user)> (search-path %load-path "nongnu/packages/linux.scm")
$1 =3D "/run/current-system/profile/share/guile/site/3.0/nongnu/packages/li=
nux.scm"
=2D-8<---------------cut here---------------end--------------->8---
Notice that this time it is located in `/run/current-system/...'.
The implication is that any pull of the channels takes no effect, since
the system-wide shadows them.
Have a nice day,
Tomas
=2D-=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmc57dQOHH5Ad29sZnNk
ZW4uY3oACgkQL7/ufbZ/walI3A//RVz1XvWdugWw4lJUdMIAWOAJXbdFagHxW2U2
7qb6NCgPkuQwBT4coNKxt4qVvs9U/DNzYCEPOSzJCda9PCwFsx48IJKIaLEXaLKQ
qtVL/UAhQAcW01WMIiKfKV6D0DuLuFtFNYaP4qtJ7OqI4U6ZCLeVqX7RWreWTa8a
hH3yKYwPrANMQP9eUkIFC/wEMvU4fWsrsas8qjbx1Bgub7msdcG3DF57E9oQkZHE
EJwcOYZYNU7bVH4FtLZuQ+13VONWrwtptoMDJTj9ou3Ve9VmApsiTZpY/r3MTSf6
in3CWkg9dAJqti8f04yEWCVGRHuncYcQhIQnvhOD2oxtyS1C5LIwKdTmZRG4kPT3
0SrAGK78gadC7nRWARwx13EBFwAnJSLrQtQQPf4TEHdOqLeOiUJSBpILmUKuCPR1
01YoQak3RXrV963UB4iu1jtrCq4osyO+ILo7rK5kjkQ3uAjL9W0uRiaYEpzEadwq
MzNVoEDPI03dckPynP88XKuV+8WbpkcZmRUs3EMA31NUVwBo6f7yy38SbnjntOmW
daW6bctihjEPNKVSq6IoT+oUM3fQiG4Ph+69vnGfBTGkDWxI9nOCMQ/MDkC0iw/e
WxWKGuDwIfI9tQtN5sHz0qog1yX84Ji1BfTJH/JeLZhAwJ63dKVfwck2aJJkza10
cY8myKQ=
=LHEn
-----END PGP SIGNATURE-----
--=-=-=--
Tomas Volf <~@wolfsden.cz>:bug-guix@HIDDEN.
Full text available.bug-guix@HIDDEN:bug#74396; Package guix.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.