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 ms0.migadu.com with LMTPS id oJ3mMAfsG2J7aQAAgWs5BA (envelope-from ) for ; Sun, 27 Feb 2022 22:24:23 +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 8CxVLgfsG2IIxQAA9RJhRA (envelope-from ) for ; Sun, 27 Feb 2022 22:24:23 +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 6598F15E84 for ; Sun, 27 Feb 2022 22:24:23 +0100 (CET) Received: from localhost ([::1]:57144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOR1g-0006us-UC for larch@yhetil.org; Sun, 27 Feb 2022 16:24:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOR1P-0006uh-Ll for guix-patches@gnu.org; Sun, 27 Feb 2022 16:24:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37181) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOR1O-0002eg-Kk for guix-patches@gnu.org; Sun, 27 Feb 2022 16:24:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOR1O-00080f-Cp for guix-patches@gnu.org; Sun, 27 Feb 2022 16:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54069] [PATCH v2 3/4] gnu: libosinfo: Unbundle usb.ids, pci.ids. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Feb 2022 21:24:02 +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: Maxime Devos Cc: John Kehayias , 54069@debbugs.gnu.org, Brendan Tildesley , Maxim Cournoyer Received: via spool by 54069-submit@debbugs.gnu.org id=B54069.164599701030747 (code B ref 54069); Sun, 27 Feb 2022 21:24:02 +0000 Received: (at 54069) by debbugs.gnu.org; 27 Feb 2022 21:23:30 +0000 Received: from localhost ([127.0.0.1]:59311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOR0r-0007zr-UM for submit@debbugs.gnu.org; Sun, 27 Feb 2022 16:23:30 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:55548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOR0q-0007zd-4m for 54069@debbugs.gnu.org; Sun, 27 Feb 2022 16:23:28 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 748BB399; Sun, 27 Feb 2022 22:23:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id laNnjTC3V8M6; Sun, 27 Feb 2022 22:23:20 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 48AA32D9; Sun, 27 Feb 2022 22:23:20 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220226043238.2657-1-mail@brendan.scot> <20220226043238.2657-3-mail@brendan.scot> <190017101.145924.1645925822107@office.mailbox.org> <58cd826af583022698ee91d0c2a25526ccb27756.camel@telenet.be> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 =?UTF-8?Q?Vent=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 27 Feb 2022 22:23:19 +0100 In-Reply-To: <58cd826af583022698ee91d0c2a25526ccb27756.camel@telenet.be> (Maxime Devos's message of "Sun, 27 Feb 2022 11:56:28 +0100") Message-ID: <87r17ot35k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: + X-Rspamd-Server: hera X-Rspamd-Queue-Id: 748BB399 X-Spamd-Result: default: False [1.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_CC(0.00)[brendan.scot,debbugs.gnu.org,protonmail.com,gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com,protonmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[5]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] 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=1645997063; 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: content-transfer-encoding:content-transfer-encoding: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; bh=UHo/o6lSiuJTPQMlYFwaBpQaOWAfbzfkLT3HaIQRzEY=; b=pXlwFVSocr6d+oj+kedrDs8NJl779nqJ1Plpg5NfVZaArRFe/i9Vpd91hr8Ga91hNRORmW XqV7IsYHsax6y2jpI0ne1hmEEk4B57tQFoi0IqCnCDhXB/VFkcMu61/h+hAy2UJlnUKuSH EFEJeaNbofpKKHh1QKxgOR6rzxwgOAiGBlInHozAQd99MUkAqKswigEvfcdz8VcpyKNoh6 TWmqD4z8dE/rjkYN+hOa6PFa6I7Hl9p6XBAV9okX33sopySAA9fA5W80y4knGNDURTa7WO OrGttP9F0SYW4Eqiv2htBlZ7RSIZsahlrzNDQiA7Z0FmjmuDi+4yFVXown8LPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645997063; a=rsa-sha256; cv=none; b=ATX3iboEU0oFkRibR8OYOXCRbGZh1BLQDc47bVgPOem0+ocz8/O+wiW0wa6gGm4qjsraZf qo4ZbX9MVcl71zDT3oRDDfVJ6w8VxffJp1rw7mRBFnAtJColCDwtrEs3LNqn+o37nOYkQF cTW6d+L5TmPNsQMahECjysM8ICnRFaDqXEB/KFNBf8URS2OvLcL6njcVsvA0lIFJoiHnPY owsvTQpDoq+fIJgPEz3rCJ3o11fig2lIIuKy4emaUR+Au0D5hAnh7CeSequTicsm2dQDJI J2eghC0m9z0gQzDxtat086vkHjP2CgeOlb40bYfbrHVHv17OS2w/gKO7lsSu7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.60 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 6598F15E84 X-Spam-Score: -3.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: XA4IhCbNhEcS Hello! Maxime Devos skribis: > (define libosinfo-new > (package > (inherit (specification->package "libosinfo")) > (arguments > (list #:configure-flags > #~(let* ((inputs #$this-package-native-input-list) > (usb.ids (search-input-file inputs "/share/hwdata/us= b.ids")) > (pci.ids (search-input-file inputs "/share/hwdata/pc= i.ids"))) > (list (string-append "-Dwith-usb-ids-path=3D" usb.ids) > (string-append "-Dwith-pci-ids-path=3D" pci.ids))) I think this is equivalent to: #~(let* ((inputs #$(input-tuples->gexp (package-inputs this-package))) =E2=80=A6) =E2=80=A6) Am I right? However, that looks a bit far-fetched to me. Can=E2=80=99t we instead do: #~(let* ((usb.ids (string-append #$hwdata:usb "/share/hwdata/usb.ids")) (pci.ids (string-append #$hwdata:pci "/share/hwdata/pci.ids"))) =E2=80=A6) ? Ludo=E2=80=99.