From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SPIFBlBtLV+QBAAA0tVLHw (envelope-from ) for ; Fri, 07 Aug 2020 15:03:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gO3CAVBtLV9qawAAbx9fmQ (envelope-from ) for ; Fri, 07 Aug 2020 15:03:44 +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 B92449402D1 for ; Fri, 7 Aug 2020 15:03:43 +0000 (UTC) Received: from localhost ([::1]:53182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k43uI-0001h9-JL for larch@yhetil.org; Fri, 07 Aug 2020 11:03:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k43uA-0001gz-0X for guix-devel@gnu.org; Fri, 07 Aug 2020 11:03:34 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:39036) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k43u7-0000ZA-Te for guix-devel@gnu.org; Fri, 07 Aug 2020 11:03:33 -0400 Received: (qmail 7919 invoked by uid 1009); 7 Aug 2020 17:03:28 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25896. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.055132 secs); 07 Aug 2020 15:03:28 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 7 Aug 2020 17:03:28 +0200 Date: Fri, 7 Aug 2020 17:03:26 +0200 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: Ricardo Wurmus Subject: Re: merge wip-haskell? Message-ID: <20200807150326.4sk2lcgqxi6xf4y7@gravity> References: <87mu386vk5.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zyet6kjks2oxuahc" Content-Disposition: inline In-Reply-To: <87mu386vk5.fsf@elephly.net> Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/07 11:03:28 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.61 X-TUID: 9Mm5R7mcQGEo --zyet6kjks2oxuahc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 06, 2020 at 10:13:46AM +0200, Ricardo Wurmus wrote: > Number 4 is by far the ugliest change of them all. In order to > statically link packages we need to add all the =E2=80=9Cstatic=E2=80=9D = outputs of all > Haskell inputs *and* the =E2=80=9Cstatic=E2=80=9D outputs of *their* Hask= ell inputs. > This is not easily accomplished, so I ended up using =E2=80=9Cpackage-clo= sure=E2=80=9D > on all direct inputs, and then filtered the result to packages with > names starting with =E2=80=9Cghc-=E2=80=9D. If there was a more appropri= ate tool I=E2=80=99d > use it, but I don=E2=80=99t think it exists. Perhaps we should work on making propagated-inputs per-output? That way, :static could propagate the :static output of the dependencies. This would also be useful in other situations. For example, a package might contain both a binary and a library, and the library must propagate its dependencies to make the header files work. I don't know what a good syntax for this would be. Thoughts? Regards, Jakub K=C4=85dzio=C5=82ka --zyet6kjks2oxuahc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8tbT4ACgkQ4xWnWEYT FWR83g//c0FBAsLOfDci0dZhBHsG2sKIG4SiaRKmnFKfBdedJcBt/oa2177uYJ7q Lta3h+rv73McoVxs0gZvsTJ1LyCe7qpmeV2yBS7mYx7Dl/7ySdcWWrsaXjl6S4no PhbY45JF83v0Ajyf+qk/XTODK6zDMnHZu8ftOdfSJ4Y0Psg3fJdYfvli2sejSEu5 IoVXrscB9z4clvHGqXG3XEx9XQ2c1GTxmPcQGgFim1v6AXUi81EfGiQlm7hRhday Y4zJZmwO39Dc/PfPwCsBY3RsdoO5g6PBAxm66PAQ130WJ2J6olvMY3Wc9oE41u/W ghxk15BIGAHVgO63V3DHadPNgMjxLjFOept93QoAWYGF4+hiAwZ4LkRjwuSzqj3F QE5CscbwkoQSJueTnbc5Qq5uOC/a8d6N1NTYyOKSwi/gjTGbOMoKL+UINJMd15H5 djnJbOZ31KoCswxXBSgJ9yidRtLUjudpd2v8q18y2bTDoS9P013o1n/d7pm/0uDb rREo8JeYVyGtaMSFFMVMNxJUtushYKNsu2X0/31+R3ULdRaeqGCPA/ikhBhIAPlK lWy9PZsKixoTBK5uSzSJvz2dL4vYWRfJwvHn2wh80gvEP3xSG0KTy+Dos8C6VAC8 3FpFCkwR/2QI60bQIqpID03r5wW8Um/sNBXJet37Fy6R8P+itOI= =GeTV -----END PGP SIGNATURE----- --zyet6kjks2oxuahc--