From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4Oz2LE5cZWHz5wAAgWs5BA (envelope-from ) for ; Tue, 12 Oct 2021 11:58:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +ECzJ05cZWGsLwAAB5/wlQ (envelope-from ) for ; Tue, 12 Oct 2021 09:58:38 +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 748C32F1B5 for ; Tue, 12 Oct 2021 11:58:38 +0200 (CEST) Received: from localhost ([::1]:33212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maEYP-0003d8-Jp for larch@yhetil.org; Tue, 12 Oct 2021 05:58:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maEUx-0000xj-9n for guix-patches@gnu.org; Tue, 12 Oct 2021 05:55:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maEUw-00050n-63 for guix-patches@gnu.org; Tue, 12 Oct 2021 05:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maEUw-00014S-11 for guix-patches@gnu.org; Tue, 12 Oct 2021 05:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH v2 01/11] packages: Add 'package-development-inputs'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Oct 2021 09:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50960 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 50960@debbugs.gnu.org Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.16340324734076 (code B ref 50960); Tue, 12 Oct 2021 09:55:01 +0000 Received: (at 50960) by debbugs.gnu.org; 12 Oct 2021 09:54:33 +0000 Received: from localhost ([127.0.0.1]:33536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maEUT-00013g-C7 for submit@debbugs.gnu.org; Tue, 12 Oct 2021 05:54:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maEUR-00013T-NO for 50960@debbugs.gnu.org; Tue, 12 Oct 2021 05:54:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60046) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maEUM-0004bO-Df; Tue, 12 Oct 2021 05:54:26 -0400 Received: from [193.50.110.91] (port=34618 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maEUM-00051p-4U; Tue, 12 Oct 2021 05:54:26 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211002102116.27726-1-ludo@gnu.org> <20211011213809.17482-1-ludo@gnu.org> <20211011213809.17482-2-ludo@gnu.org> <86czoaoigo.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 =?UTF-8?Q?Vend=C3=A9miaire?= 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: Tue, 12 Oct 2021 11:54:24 +0200 In-Reply-To: <86czoaoigo.fsf@gmail.com> (zimoun's message of "Tue, 12 Oct 2021 08:39:03 +0200") Message-ID: <87v922va9b.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-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634032718; 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=ZieAOeINNTpPhIszjka1JmDqWQbAWF39jv5Oc1nB4wU=; b=s84IrAKJDm/MRG8b+gPSdkrsfqDpNLfxJD25o6oR+0hiop1NsCdKDcOBHaaRhHQv2Jq9k0 BBQTBYWp4M/r8+QMlhs/ajEjEmdVb7eNBbFPyCHg39BoWTIDYdaDF6paWMVuKDxvThMvG1 g8ZmQrfm7ItSiVZtFlT4vZetJZ9wP5fXczCcJZWMycLiaiPvdkGq/V7eCng70jE4bfzl9n ckNBXAZPpdHcoan97vqFR0/mFQZC2BTw1xEbwK/AgOBzHCYs00ExlY5jdGw9wRaCEAUEAq ZF3pnW/aIwcZxlKU5m6t2MZz36naL9Z9lEamLXN+TLO9LoWvg9LuTo/DtGW2jA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634032718; a=rsa-sha256; cv=none; b=Vqylgzr8lFmtcXd2p79e45Nk42PrX4pRzkGtc3cCMKPAH1aaKtuxFDK9auN+uv1IQZa0ge W1MRtjaM66+b7i8DHvQUMpWuYKg7+5rNa772zbzsGTSjkir/nC5sF86ZxhlSY2nk9WmBmF he+DMPbGXgodBXlkNQ07y5L8ivBMpgXyQSUi9YhxZhzVT2WkemSOpomgBNgcCyIgahYCNO LLjDwlJsTpHjIL2lF+U3tc1GExX9vPmVuX0/Tg5ZD07kNX4R74Ysts4RmJnad9KPQ/FeY5 LC6dTgOfWJvOBYGtV3s4NtKLEAi92/G/0XsB70DxjbzjUzeJE746TxxmMUUPpw== 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@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.71 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@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 748C32F1B5 X-Spam-Score: -3.71 X-Migadu-Scanner: scn1.migadu.com X-TUID: b+7jEh42aDsU zimoun skribis: >> +(define* (package-development-inputs package >> + #:optional (system (%current-syste= m)) >> + #:key target) >> + "Return the list of inputs required by PACKAGE for development purpos= es on >> +SYSTEM. When TARGET is true, return the inputs needed to cross-compile >> +PACKAGE from SYSTEM to TRIPLET, where TRIPLET is a triplet such as >> +\"aarch64-linux-gnu\"." >> + (bag-transitive-inputs (package->bag package system target))) > > [...] > >> ;; Remove non-package inputs such as origin records. >> (filter-map input->manifest-entry >> - (bag-transitive-inputs (package->bag package)))) >> + (package-development-inputs package system))) > > Why =E2=80=99system=E2=80=99 is used here? Why is not simply? > > + (package-development-inputs package))) > > because =E2=80=99system=E2=80=99 should be not defined, or I do not know = where IIUC. It=E2=80=99s an optional parameter above. Ludo=E2=80=99.