From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uIfqG20bvmDZMQEAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 15:13:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UP9mF20bvmBtHgAA1q6Kng (envelope-from ) for ; Mon, 07 Jun 2021 13:13:17 +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 E5454224C9 for ; Mon, 7 Jun 2021 15:13:16 +0200 (CEST) Received: from localhost ([::1]:36544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqF47-0001u3-Fo for larch@yhetil.org; Mon, 07 Jun 2021 09:13:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqF3v-0001sY-Fj for guix-patches@gnu.org; Mon, 07 Jun 2021 09:13:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqF3u-0000Sa-8Z for guix-patches@gnu.org; Mon, 07 Jun 2021 09:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqF3t-0007BI-Vq for guix-patches@gnu.org; Mon, 07 Jun 2021 09:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47539] Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 13:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 47539@debbugs.gnu.org, Leo Prikler Received: via spool by 47539-submit@debbugs.gnu.org id=B47539.162307152527535 (code B ref 47539); Mon, 07 Jun 2021 13:13:01 +0000 Received: (at 47539) by debbugs.gnu.org; 7 Jun 2021 13:12:05 +0000 Received: from localhost ([127.0.0.1]:54728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqF2y-0007A3-Kx for submit@debbugs.gnu.org; Mon, 07 Jun 2021 09:12:04 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:57280 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqF2w-00079X-Ep for 47539@debbugs.gnu.org; Mon, 07 Jun 2021 09:12:03 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1623071514; bh=7DGqbSKgvuDK77kc8IGramu05KCGVq3MWercHDCfQFE=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=rrCFmtoxLvz/D5zD85iic0+y0ZIVOKCWMHj4GClLUgxMuqhRAEYseFarGqQZgNLXs edeszLuDdHJiT5aKWwvGAo2lQvZb8tZn67awXRuqeoXgUbcaue9gkzZl64ejC1WW1b DV8yjp4C/fZRVsadPLN/xX5UZJEDJQ87cTDoyxAc= In-Reply-To: <87pmwxu8z5.fsf@yoctocell.xyz> References: <87y2dd8r18.fsf@yoctocell.xyz> <87lf9d8l43.fsf@yoctocell.xyz> <87mts486ln.fsf@yoctocell.xyz> <87pmwxu8z5.fsf@yoctocell.xyz> Date: Mon, 07 Jun 2021 15:11:53 +0200 Message-ID: <87lf7lu8di.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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=1623071597; 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=ssTqYf7+SPQPo6+fvUCdyxJEIjbAgzFpMmTNsOfB2us=; b=Lsqw5Az8e6bpNVySYgKXxUN4ct65AESeCC8lAw0yXPHJH11AN0JIvfVsuXpkWnx8LcdSig 4vrPOeFP2za4DPPHZQ/I0AWUSos5xlIPycDqXS4PBjAJMbjbB5wfg+D34qo3mSF48RT5+M VJdyL3w2tP4yQOI50u6KnEmS4RYUC2lvK5yLyeya4fNpxKZSaSKJRXFmg7tZ/9XFcF9vMg 5u2r8A5Ag0b5muY7lgb7eI7ZCOzctFyJDhtmh+ShM2aSepBSDTeLRc20QkrYlucmcR/mBJ yn5f2wtPox8/+mpvURlE2CFrWpP6MShroL5l3TNGrqel+323NqqBEQ0zzJBk/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623071597; a=rsa-sha256; cv=none; b=AYiFrCmZ1oEYM68NB10UrXtGtmU+lutJEh0vJbHo2bLBfOqL1zhtyc1vz2B1gUuJxVmU9g noGzWCJt86BSU7KwO9ZNP8A0GJJLO0JSDnG5Gp6rZPmXtTQ4x5tiAIrFkX66qwAFobBthH +affnG0xDGtKHTjMDXxT17d+fURP6ygrZHiWFjA3rIJqx5kj8Dr1zs4UwPgQRrlai8XVO2 pA11uF7s2CW7Nm0bCr2580nRk7YwlW/2C52tk9eEHl85y4Ys6JMhNEOOhkcR8jQETwRg1N ipO/UkzX+WXLMXvcgGxJLwA7/dTO5O6e4cktkkTZZP4eCl+Um4iGU310pMHhBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=rrCFmtox; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); 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: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=rrCFmtox; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); 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: E5454224C9 X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9EYqWHVZ+yyt --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, Jun 07 2021, Xinglu Chen wrote: > On Sun, Jun 06 2021, Leo Famulari wrote: > >> On Sat, Jun 05, 2021 at 09:16:36PM +0200, Xinglu Chen wrote: >>> On Fri, May 21 2021, Leo Famulari wrote: >>> > I notice that (most of?) the new packages use native-inputs for their >>> > dependencies. >>> > >>> > If these dependencies are used at run-time, I would propagate them >>> > instead. This way, they will be available in the build environment of >>> > packages that depend on the package that is using them, which matters >>> > for our go-build-system, where everything is built from scratch in ea= ch >>> > package. If I remember correctly, that is... >>>=20 >>> I am not familiar with the Go ecosystem, is there a way to tell if a >>> dependency is used at runtime? >> >> If foo requires bar, and baz depends on foo, then bar needs to be >> available when building baz. That is because foo will be rebuilt while >> building baz. >> >> We must either propagate bar from foo, or make baz depend on it. >> Technically, bar is a dependency of foo, so it is correct to propagate >> it from foo. > > So if A dependes on B which depends on C, and I want to build A, then C > has to be a =E2=80=98propagated-input=E2=80=99 for B? Did I get that rig= ht? > > But if I just want to build B, should C still be a =E2=80=98propagated-in= put=E2=80=99 > for B? Since a new version of the =E2=80=98github-cli=E2=80=99 package is out, I r= an =E2=80=98./pre-inst-env guix import go -r github.com/cli/cli=E2=80=99 to se= e if it had any new dependencies. I noticed that the Go importer put all the dependencies as =E2=80=98propagated-input=E2=80=99 instead of =E2=80=98nati= ve-input=E2=80=99 (which it did before). My guess is that basically everything should be propagated? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmC+GxoVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5bioP/1Rs79IVBampO8bbXnX1w7mlQXii bgGjxxmLuyfBPFzdMLVUc3wEP+1DH4ZLSsSQ5ENL/WONa8gceJXuAmyjaoL7giBz AS2wYcU7cvpUk8dNHpXUeHXgWMVPYP3eRKtdRPXb+eKy+fD8SiUKnifmk8dhwJGS Y87C9IVErXZSTZazy/5ChxZNwj+6hUbq9ksw/48uox2bRy6qp9caOJmpV3+bGMel esldk1Cl7uOW3FyhWQ2KStMpb7GcuK0iYHc9bigMENJCoq50gPNoPPvo06f+UTYN Ho1OVpoAl4s/yFUDr2K3fWwYNXOt9sd2bKuvIbNqaBGdzNIOBESHVETVYX3HiUQt i3K9gccvz6eRScPPn82SeEeYVi0GoyzZs4jFcAy78c2C+QObTWhJqI/KstDQzhKz DqfQ4eU6E6TfAZ8qWnhVgoXJJyqLkaP1cYP1lok4tFfDaJhuFf8RNRKd6QxpcmrK SWPteZdEXZjWEPh5Ws2YN93hnVTnmogrIHKzI9aqQFgDK6/3726TckYQN7wcNlll pTo5pGOw0ui12F1791ll7kyMYhG9s8gE6QLcwpDegVPFaxN6TR7w9uONU1JFvc7L priSBKtq9jzuZxxbj3U0f+qJhFw8VgtWKL2R8wZUxWcTmcCqGJiUxojc2GMS94E8 ZQsQpmZGZhMk2Axj =QbH6 -----END PGP SIGNATURE----- --=-=-=--