From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uCpnKTCzyF/jGAAA0tVLHw (envelope-from ) for ; Thu, 03 Dec 2020 09:43:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4AM4JTCzyF8TUwAAbx9fmQ (envelope-from ) for ; Thu, 03 Dec 2020 09:43:12 +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 177189403EB for ; Thu, 3 Dec 2020 09:43:11 +0000 (UTC) Received: from localhost ([::1]:40208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkl8o-0001to-Kz for larch@yhetil.org; Thu, 03 Dec 2020 04:43:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkl8g-0001tU-PA for bug-guix@gnu.org; Thu, 03 Dec 2020 04:43:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkl8g-0001pA-Cf for bug-guix@gnu.org; Thu, 03 Dec 2020 04:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkl8g-0003X3-7m for bug-guix@gnu.org; Thu, 03 Dec 2020 04:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Dec 2020 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45017@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160698855813546 (code B ref -1); Thu, 03 Dec 2020 09:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2020 09:42:38 +0000 Received: from localhost ([127.0.0.1]:38383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkl8I-0003WQ-5O for submit@debbugs.gnu.org; Thu, 03 Dec 2020 04:42:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:34342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkl8G-0003WJ-PO for submit@debbugs.gnu.org; Thu, 03 Dec 2020 04:42:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkl8G-0001rA-Hp for bug-guix@gnu.org; Thu, 03 Dec 2020 04:42:36 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:56587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkl8E-0001dD-DC for bug-guix@gnu.org; Thu, 03 Dec 2020 04:42:36 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E4A73E000E; Thu, 3 Dec 2020 09:42:29 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 03 Dec 2020 10:42:29 +0100 Message-ID: <87wnxzmdiy.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@ambrevar.xyz; helo=relay4-d.mail.gandi.net X-Spam_score_int: 21 X-Spam_score: 2.1 X-Spam_bar: ++ X-Spam_report: (2.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.501, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.88 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 177189403EB X-Spam-Score: -1.88 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: lvK/9zpTmX1B --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since staging was merged a few days ago, I've noticed an undesirable side-effect of our revamped asdf-build-system: the systems packages have priority over the user-local ones. Here is the default list of registries: =2D-8<---------------cut here---------------start------------->8--- (defparameter* *default-source-registries* '(environment-source-registry user-source-registry user-source-registry-directory default-user-source-registry system-source-registry system-source-registry-directory default-system-source-registry) "List of default source registries" "3.1.0.102") =2D-8<---------------cut here---------------end--------------->8--- `user-source-registry' points to what is read in ~/.config/common-lisp/source-registry.conf(.d/)?, so nothing by default. user-source-registry-directory reads what's in XDG_CONFIG_DIRS, and it finds the Guix packages there. The default-user-source-registry expands to =2D-8<---------------cut here---------------start------------->8--- (:SOURCE-REGISTRY (:TREE (:HOME "common-lisp/")) (:DIRECTORY (:HOME ".sbcl/systems/")) (:DIRECTORY #P"/home/ambrevar/.local/share/common-lisp/systems/") (:TREE #P"/home/ambrevar/.local/share/common-lisp/source/") :INHERIT-CONFIGURATION) =2D-8<---------------cut here---------------end--------------->8--- which is where I would drop my user-local packages. Finally, default-system-source-registry reads what's in XDG_DATA_DIRS, and it finds the packages there again, but it does not read the Guix-generated conf which collects the dependencies of each package. I believe the issue is that `user-source-registry-directory' should read from XDG_CONFIG_HOME, and not XDG_CONFIG_DIRS (which would make it redundant with `user-source-registry'). This would make it an upstream issue, but I wanted to double-check I properly understood the problem with the Guix community first. Guillaume, thoughts on this? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/IswUSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/7QMH/Riz1Rp5GpGK6HxMVyTM9kaYgyYj3UFi 3htXx5JFQkDh12RwrnxsjyYiEYxT94buB2kELabB67Q67iS1ODqk/oj50gU64jBl g76xKEO+RJy6sAC+4rzQqKnmekEPkRXvvExG8XtGiEbmSHpNKXRtHOePtVHdSi/5 YRzBugwGnGrrwd7Zb24AJ6pFeYTC2DOeJ90wswRprQLMNzNLbrzGGPIcKzAj/hk/ rgBnflLUZkE34P/z7MHPRrKsnBU2HAEkLoll+wL1Z8ZkZV5G3GL93Nu4JJNG6tZx hIFscmVlNdardHJsn2f3xo4eJrVErfGShd66MrxAfYBGZIUR5VMNshs= =t3jU -----END PGP SIGNATURE----- --=-=-=--