From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WDHKOOxWG2LJugAAgWs5BA (envelope-from ) for ; Sun, 27 Feb 2022 11:48:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +Co5NexWG2LDQwAAauVa8A (envelope-from ) for ; Sun, 27 Feb 2022 11:48:12 +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 6B0F73E948 for ; Sun, 27 Feb 2022 11:48:12 +0100 (CET) Received: from localhost ([::1]:57786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOH63-0005jl-4q for larch@yhetil.org; Sun, 27 Feb 2022 05:48:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOH5u-0005jM-7H for guix-patches@gnu.org; Sun, 27 Feb 2022 05:48:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOH5t-0007zQ-Rg for guix-patches@gnu.org; Sun, 27 Feb 2022 05:48:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOH5t-0001a8-OW for guix-patches@gnu.org; Sun, 27 Feb 2022 05:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Feb 2022 10:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brendan Tildesley , 54069@debbugs.gnu.org Cc: John Kehayias , ludo@gnu.org, Maxim Cournoyer Received: via spool by 54069-submit@debbugs.gnu.org id=B54069.16459588275882 (code B ref 54069); Sun, 27 Feb 2022 10:48:01 +0000 Received: (at 54069) by debbugs.gnu.org; 27 Feb 2022 10:47:07 +0000 Received: from localhost ([127.0.0.1]:56902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOH51-0001Wo-9P for submit@debbugs.gnu.org; Sun, 27 Feb 2022 05:47:07 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:34094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOH4z-0001Wf-5X for 54069@debbugs.gnu.org; Sun, 27 Feb 2022 05:47:06 -0500 Received: from [192.168.160.254] ([188.188.52.46]) by michel.telenet-ops.be with bizsmtp id 0An22700B0zovbQ06An2ke; Sun, 27 Feb 2022 11:47:03 +0100 Message-ID: From: Maxime Devos Date: Sun, 27 Feb 2022 11:46:57 +0100 In-Reply-To: <190017101.145924.1645925822107@office.mailbox.org> References: <20220226043238.2657-1-mail@brendan.scot> <20220226043238.2657-3-mail@brendan.scot> <190017101.145924.1645925822107@office.mailbox.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-7on8p+R3hgkh5bsOXTc2" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1645958823; bh=qYp2sH2DAwmdYuCbhwQ4pmZPCDCK//5Wmsa2k86d+og=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=nEDLezekVcyFfWHOc1sfS5Ui5giDbjrc0BMhfsYRDTb+N6MacpYkXKCFlX5RZPs9x 4A6UtNdKB4Lre3aeB4Z5H037y4m+e44EpHjllQUMC1HuaMFSdFFMdKpLZH/kZW9PMX FMgf+fltUG6bGhMT8AwCE0mA3B8T5uqAKawWhz/hWSwxozdM0JcM2CmjJrLPOgCwsB +jZ3p8UxG1de2QCU/qPhoKUciHqjxG8qiyP/CgZZ/6qxC4+8ghOxxJaktX158NTJBd zFEeSSWZrNi9HzINJH+ifqXVuCC9ByrLD5zm3+5AnRXTkj7muhSvHkT9M+uScoGK9o 4Ti2koC+dAT2Q== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1645958892; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=qYp2sH2DAwmdYuCbhwQ4pmZPCDCK//5Wmsa2k86d+og=; b=YozqotSCkHLovwKvLaeevpBk8CI3IF92FBpvqd4DDgs0NMZDUJinnWXSyZiyY8UJBgM+oD y+X/QOeztfvx7xr+So8L2zgVQ35PtsqFQwOS90DH2ewzQiZ/k+EER7OpufqvQZA/CFXx/v ifyQr2NY5Mtx5M1/oPnzO57hBdQqKlPYp0f80OqXr2Ew33itlhfM+eUX1pbY9Nnc1Pg81y 5JYg3c54c1WBew1SZUMQQfNYY/07dathLJmsS1eIDOpaaE2lxr/pp/tS5MDbIwYT8EqRtS 4FfAGpOD0fjFhAfy2HlprfaNUWMrwHwrGcy5V/Ct0gymrQ/JkY9sSQMv+/GeQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645958892; a=rsa-sha256; cv=none; b=RSwohRolK72Iv8HFBayelzJc+ftoAJ0NeWgeK1fPWe/Jc6yyjPSwGLryTLFlUrkoGZGL0Y oC9M4W2LrJAss/qATFr2/Yam3OJG2RyFoLKPA56WTlGvYN6Hhrl8qneNK3gN/I8klBtaHB JJ+AvqRsI2U9wbX7mKVApj86wKV4Azqxn1bcrt0mMRIfDyFz7dQC6QphxZHoR8NEjpjn/N ql4VtDI6GfwaHxZMisw/poXs+CIZdiD0m1CigCZnuE+jTy7d1WU0XLRBmfA8XlX63U/Ffg ZvGVvU9xusF6U8tTYg4HH7OVvp1u5YUbNw4BEOufj4XUlMW01XihStQ3Ixx6LQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=nEDLezek; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=nEDLezek; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6B0F73E948 X-Spam-Score: 4.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: PWqdkLbghh0Y --=-7on8p+R3hgkh5bsOXTc2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Brendan Tildesley schreef op zo 27-02-2022 om 02:37 [+0100]: > I got strange errors trying that and couldn't figure out how to make it w= ork. > There are no examples of input-tuples->gexp being used in a package defin= ition. >=20 > This works: > =C2=A0#~(list > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-append "-Dwith-u= sb-ids-path=3D" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (search-= input-file %build-inputs "/share/hwdata/usb.ids")) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-append "-Dwith-p= ci-ids-path=3D" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (search-= input-file %build-inputs "/share/hwdata/pci.ids"))) >=20 > I thought %build-inputs was not a recommended thing to use though? It is. Anyway, I found a solution, see attachement. Maybe the 'gexp-input-compiler' could be moved into (guix gexp) and 'this-package-input-list'/'this-package-native-input-list' could be moved into (guix packages) (+ documented in the manual)? CC'ing ludo for the proposed new gexpology. Greetings, Maxime. --=-7on8p+R3hgkh5bsOXTc2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhtWoRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nVEAP9sDmzIo/6OVKZEldZeI64qXr4O V0YkMCTDFGNSttmScAD8CraziR0fM9eoE5OWr2vfaPZ3Cf9rYJgiVzs8DnvwfQY= =hrh0 -----END PGP SIGNATURE----- --=-7on8p+R3hgkh5bsOXTc2--