From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oO4vLTBL5GZVKwAAe85BDQ:P1 (envelope-from ) for ; Fri, 13 Sep 2024 14:24:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oO4vLTBL5GZVKwAAe85BDQ (envelope-from ) for ; Fri, 13 Sep 2024 16:24:48 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=A0zyFOeT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726237488; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zDppjU/TuqJujXvsOEt/ivsUHmc2rAXuBasABfIlPw4=; b=cF/d3niTC5wZywDYtKyht/yU0KmWIe1Boh4z6TSN6oz7+3jUy2tMW4JUO66lc3+4iOr27I e27itmYxZXyG2xaFoZ5lWtlGEw/FIN571dAiBhDGLZGcMNEQky0NPhtd5lsaTYq9hiX3P0 h5gX3XBKLLw3lw14dTsCnNKQP4nPlyPSBWKy6HBOv8LinHuEyE8PW5O0XDPU7+PlUt+B2I ifnfg5seAcSFumEVDsRrPGK+TleidhFoLT4cAkSLpxsiM/ExVjJUM6h7LtHDAxthustqdT Jd/OoDYDv9jbQJjc2/cp/MMT6JfOLpRjtHjMtEfpuR5KYl8ejWrLwa0z5qNsfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726237488; a=rsa-sha256; cv=none; b=VdT+O7nS66d4tQye493pDpgHPiyJ8fKDeie4957NEn7h5BZEGxPpLBor+WWIfO251iCGaa wy9JCnwxIm0d2xZYzedXhEhpzF8yAiZbf3GlD8/Id3fQormVF4OhQUznTiESOuQSefEZqy hLZGpKSkDvnvGJQk4K3IOpeFwSSFRXxxchaA9V+aa6MhP1qp9RC4QFy7hwLX8fLxeqEu6m pXHu8K3+XXtrH+ZRAqb05ZPVPsU7v6I24qd2NkbVl8VBHcw319tZrBK/+m5Wp4ZqkS8rK+ pK/NtzZdRWxbtnSs+bitFayexEyA8mAkxKEBKuKvxnv/12NWUV+CCOo78YeMpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=A0zyFOeT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" 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 560A9BBD6 for ; Fri, 13 Sep 2024 16:24:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sp7Dg-0006R9-PV; Fri, 13 Sep 2024 10:24:20 -0400 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 1sp7De-0006FU-Ha for help-guix@gnu.org; Fri, 13 Sep 2024 10:24:18 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sp7Dd-0001ub-1G for help-guix@gnu.org; Fri, 13 Sep 2024 10:24:18 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-42cc8782869so21515465e9.2 for ; Fri, 13 Sep 2024 07:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726237455; x=1726842255; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=zDppjU/TuqJujXvsOEt/ivsUHmc2rAXuBasABfIlPw4=; b=A0zyFOeTyd7Z+mH7NARwbs3oePqyF9oxv5m8RylMPNiAeUmiKJVt8X4xzqck1iJkgJ vhwLg7ZYSakzIO1mpw3RMNlrAT7n6fznPX+Xm3vJ48PiFklFQIBMkTg7y5xSH/2Fh59a UmuU3HEB3haG9Q+4Hha7+xTUJJAT38hd24AU5w5VGX0wxK+KITD17ZkOWJWaE5goc2S5 7JLRu8XlaAXK7hZFBdJwKqAtmRlnjbAiTormRWASfr0wsD6HiW2psVzBO381exEMMcYm 1spSrw4IAroQOPUyDudDkQYrLTLchcBw7w/l+X35OOa9uhnkabmy8ZYim0MJtKEAxYJj NhHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726237455; x=1726842255; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=zDppjU/TuqJujXvsOEt/ivsUHmc2rAXuBasABfIlPw4=; b=e0koa0Ap/8fTQiqPCshriTZt3hq4xckvbB6c9tbZakufgXwCUmTZOg0E57y/dUt6Q4 Z7JYHUi+qokgwW0uoJWyM6RBfS+16HMNpvkq5zyuH3kCVURpfujlOMnBp3S/xfmcVXUh gQeNXEC3mHyOZpx5N8p7ReZUoLUgw/7y/kGoPViNmamF7OZD+1Ydv8Bdo+XbqFP3gP8J oqZfmwrQKDQaVtrVaFLm7PEoL+y5M+RsHgJ9FHuBhC3oU7mLz1pjTB0DOr8C3Kr2D6vj il7aS+KyofE0yxg/dplB+gM+qqv74j/BbitOAj7WmKpJa9Ov2tM4c+Bm+hgXOWc3DB8M Z/cA== X-Forwarded-Encrypted: i=1; AJvYcCVw40cXGOtCIlq+APKFa3ktkmE9Lg6z8hXJrbHCWtskrnjWx5GbcVsEeU2Htf6uowvSCWncRiWJf38=@gnu.org X-Gm-Message-State: AOJu0YzhLM+EkgBkq9QQQV85o/mF/3GvSJJHi2BhSgi0WIV3HHtmAYSi gjJGQgdwp2y5LqPqvXFSg8rz+11uZrgrtxvC9pRdykqH9t6GTTQT X-Google-Smtp-Source: AGHT+IGLuxWHERvvRwvDPt5NoZIx3E4THMx3/zZ5PUxOwQmdVfomc3Mjf1LVQ3wD0dLPEX+z3dWpjA== X-Received: by 2002:a05:600c:19c8:b0:42c:b187:bde9 with SMTP id 5b1f17b1804b1-42cdb579f3cmr55127155e9.30.1726237455120; Fri, 13 Sep 2024 07:24:15 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-42.net.univ-paris-diderot.fr. [194.254.61.42]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42d9b15abc5sm27396795e9.17.2024.09.13.07.24.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 07:24:14 -0700 (PDT) From: Simon Tournier To: Andy Tai , help-guix@gnu.org, 73137@debbugs.gnu.org Subject: Re: this-package-input vs. propagated-inputs in package definition In-Reply-To: References: Date: Tue, 10 Sep 2024 19:14:44 +0200 Message-ID: <87ed5ra0sb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32c.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.61 X-Spam-Score: -4.61 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Queue-Id: 560A9BBD6 X-TUID: r2Kn4nph7k65 Hi, On Mon, 09 Sep 2024 at 11:27, Andy Tai wrote: > A question on package definition (likely scope of guix-devel, but > anyway posted here first): > > I have updated the definition of package ddd which has libxft as > input. Libxft in turn has freefont as propagated-input. In the > definition of ddd I tried to do > > (this-package-input "freefont") > > which returns #f. I think that=E2=80=99s expected. =E2=80=99this-package-input=E2=80=99 sear= ches only in the list of =E2=80=99inputs=E2=80=99 and =E2=80=99propagated-inputs=E2=80=99 of the = package itself and not of the inputs. Somehow, it=E2=80=99s not recursive and =E2=80=9Cfreetype=E2=80=9D= is not an =E2=80=9Cinputs=E2=80=9D of the package ddd. BTW, I am not sure to understand what mean a propagated-inputs in the context of a build. I mean, it sounds at run-time, not build-time. No? Do I miss something? > I had to add freefont as input to ddd to make this work. BTW, for the package ddd, is freetype an input or also a propagated-input ? > As propagated-input should be propagated, shall the addition of > freefont as input to ddd be unneeded? Well, for sure, considering the current implementation, you cannot reach the propagated-inputs of the inputs using this-package-inputs. Cheers, simon