From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ICT6FqCXd2OkPAAAbAwnHQ (envelope-from ) for ; Fri, 18 Nov 2022 15:33:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gA/mFqCXd2Nb9wAA9RJhRA (envelope-from ) for ; Fri, 18 Nov 2022 15:33:04 +0100 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 EE2363A54E for ; Fri, 18 Nov 2022 15:33:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow2Q4-00032R-Ma; Fri, 18 Nov 2022 09:32:41 -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 ) id 1ow2Pg-0002ww-WF for guix-devel@gnu.org; Fri, 18 Nov 2022 09:32:23 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow2Pd-00037e-My for guix-devel@gnu.org; Fri, 18 Nov 2022 09:32:16 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4A075240101 for ; Fri, 18 Nov 2022 15:32:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668781930; bh=wW2rGILE/t5qA+EIiaTVajLiLh7ILgbmPrq/pzeWLTA=; h=From:To:Cc:Subject:Date:From; b=XaAIC0h3VtcVNp5YxGpezE5mNutPJ5/G1iJgKN/EaYNjlom+DPCSeNyVh19PBuVlm ehNYBwP13jFDgTPxUiQsfVnRV+XLl7p6//+yZx3eUCNiq0oxblzaXtORKBKXv+IuVP AQzIzA3vnJLrcWGHTdo1rIBsakEHHYIgn/54Gf0kiUTxYLMYWeDRWw40eR8wZJL26R Z2/S3lP4RbpuGHRTtq1oX4bEvhUja2nzaqfWjsEWp0LJgNnov8C+7CUo7ZdAmJmlOu Lh3Dwk8zEZQ3xBGcVmrWKI3PMqSon7Oi2efZcRMKez+0imI1l0tKbRjNhNl6Wgp4jL M5ff0JV/s7qMQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NDK492c61z6tpl; Fri, 18 Nov 2022 15:32:09 +0100 (CET) References: From: Guillaume Le Vaillant To: Charles Cc: guix-devel@gnu.org Subject: Re: Package Argument #:asd-systems Missing & Guix Provides Date: Fri, 18 Nov 2022 14:19:54 +0000 In-reply-to: Message-ID: <871qq0cp07.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.66; envelope-from=glv@posteo.net; helo=mout02.posteo.de 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668781984; 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=wW2rGILE/t5qA+EIiaTVajLiLh7ILgbmPrq/pzeWLTA=; b=U2sk+c6Xy1ozkY/qK8gWjPdJUKktDZdEUhCbq9hWynbBaMRTHVMVX+XGUzgCX5j7dL/xev l1q4AJLAk1XxB8cw33HJsBIVK/n7CAis3wOfZBdznLuYaHhSqQ6CJ0vrOvsTJVUXIl/d5B 6Uyo4L5IqK8DywpfsZ/c6BTwhpAj5t6nqRS3pOBdvob9+Lq6J3CbpkvwRc0RLZCgvYpchW ZbN4gAqNlE45Cr03nmpR2x6rHtxkYbp8KIChEdZn+kRbpHCW+iBSRnjR1Z5qSD9Srcqui2 CPI+mpNlUsozynnYlUZ0x1w+jSNFTIya2JN/pdTd8zLNsw2hFlQnof8U6cVV3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668781984; a=rsa-sha256; cv=none; b=jmL7ZUCq/GxFHPAQiS70rJ10VDR9uoM+SlnhxgtRb7fSKW5jijJGQYxhvN1T8UhThmujxb QJCl0v76TuJg6f977hWPzRg5xann5Q3JFXgViEUq2/raSF43h+a/wnvgLAd/TF+9XlnsnY iYOei7REt37/d0MCkxE/bbjQl1Amfovt0dEnl+pLwkVxRSllWQUiyCOYd2moDsRhCXzMwp jfnLOSqmr5OjsP6wC8l68Ka2MqYGvZnIYKCSJKe1yRdGXX+Zwo9SRivcskj6DLb0ol6zla 9qdWiOnMsccGlhNJ1sfYOBrj91UexYpXv7rYiGHbuBUa6nzFcF6Lo9y0G7sb3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XaAIC0h3; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XaAIC0h3; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EE2363A54E X-Spam-Score: -4.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: wuogqK/7u57G --=-=-= Content-Type: text/plain Charles skribis: > Hello Guix Developers. > > [...] > > Full Context: > > I am trying to make a guix-provides script that would take some artifact (name of asd-system) as input and give the packages that create those artifacts. > Examples: > > Find by asdf-system > $ guix provides --asdf-system com.inuoe.jzon > sbcl-jzon > ecl-jzon > cl-jzon > > Find by binary. I think it will take significant changes to get this one to work. > $ guix provides as > binutils > > I'm working on the --asdf-system version as a proof of concept because I like > lisp, and it seems doable with minimal changes. The one problem I'm running > into is not having access to the #:asd-systems package argument for packages > with asdf-build-system/source. I agin ask: Would it be possible to leave the > package-arguments (at least the #:asd-systems) in tact for > asdf-build-system/source packages? Hi, I don't think you can rely on the 'asd-systems' argument of a package definitions to have an accurate description of ASDF systems contained in this package. For example, a system "xxx" could depend on "xxx/a" and "xxx/b". The package definition for sbcl-xxx will usually only have "xxx" in 'asd-systems'. The "xxx/a" and "xxx/b" systems will get compiled automatically by ASDF as they are depencencies of the "xxx" system, but they won't appear in the 'asd-systems' list. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCY3eXaA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+ZDAD/TZL1L++e+VuY7DC1YDqAzeNrU227faw59H04 gDP1YykA/RNhS0heKjaDC7kaEQW4GCFdBTqhNVkoeQLPP927ic+p =rE02 -----END PGP SIGNATURE----- --=-=-=--