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 mDR+ABfcsV9uYQAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 01:55:35 +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 aNvPNxbcsV9oCgAAbx9fmQ (envelope-from ) for ; Mon, 16 Nov 2020 01:55:34 +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 ABB9E9402A9 for ; Mon, 16 Nov 2020 01:55:34 +0000 (UTC) Received: from localhost ([::1]:57112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keTjx-0008Mj-G4 for larch@yhetil.org; Sun, 15 Nov 2020 20:55:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keTjT-0008M1-9x for guix-devel@gnu.org; Sun, 15 Nov 2020 20:55:03 -0500 Received: from 101c.relay.hey.com ([204.62.115.197]:56777) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keTjQ-0005m7-OO for guix-devel@gnu.org; Sun, 15 Nov 2020 20:55:03 -0500 Received: from hey.com (bigip-vip-new.rw-ash-int.37signals.com [10.20.0.24]) by 101.relay.hey.com (Postfix) with ESMTP id ECD7EA15B8; Mon, 16 Nov 2020 01:54:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hey.com; s=heymail; t=1605491699; h=from:from: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; bh=z+Rg+8xDna5uPMIlfHrxVn40mTzbvPE5Repo3TDDmSY=; b=Pw+556washM2vHCzBJl7Ye5H5TufF3cTuV7c20ATqXhGwHefC2w/BzDFqaZezIyrGQ+uNx eMBs0Ype0Efg9F81a8SKTDnPL+JMMqA1dClTuXIAg+Ylyl2ilRIB88WIrflOr1QDGSWlqw gnnflX8EOLuWiKMPz9WWLpDLykgCvAhY/8+VYwdOlXnaEHXF2ELatwfUaA94OsfQMt81bs gINgKIFL12aS1J+VV3WKXbvwR+2c7rKGlcVmaQrVVi+85UlPJt6ioYS6iUaJ/Rlbip39d9 z4O+Ly2kiej8sL2i7WX9eGxDO86v9iLnCN7fie0sUpFGezvP5c8IRNcfy0qhwg== Date: Mon, 16 Nov 2020 01:54:57 +0000 From: Ryan Prior To: Development of GNU Guix and the GNU System distribution , raingloom Message-ID: <137b2ee6f1b889acfb196250e2483992bbaca2d3@hey.com> In-Reply-To: <20201115222429.40243606@riseup.net> Subject: Re: A plan for parameterized packages Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5fb1dbf2d85ae_35012dc81603d"; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=204.62.115.197; envelope-from=ryanprior@hey.com; helo=101c.relay.hey.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/15 20:54:59 X-ACL-Warn: Detected OS = ??? 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hey.com header.s=heymail header.b=Pw+556wa; dmarc=pass (policy=quarantine) header.from=hey.com; 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.21 X-TUID: ysgbViH2JHbh ----==_mimepart_5fb1dbf2d85ae_35012dc81603d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On November 15, 2020, raingloom wrote: > Alpine already achieves an incredibly tiny install size by splitting > packages into many outputs. We could and should do the same. > As far as I know, they do not have parameterized packages. I definitely support more package-splitting and dependency tree-shaking where possible. Getting a core Guix System down to Alpine size would be fantastic. For example, `docker size python` shows a 171.4mb bundle size just for Python alone, while `docker images python:alpine` shows a 44.3mb system image, which includes a bunch of system stuff in addition to Python. It would be great to have tools to understand what's in our big Guix packages and how we could ship light bundles that get the job done. ----==_mimepart_5fb1dbf2d85ae_35012dc81603d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On November 15, 2020, raingloom <raingloom@riseup.net> wrote= :

Alpine already achieves an incredibly tiny install= size by splitting
packages into many outputs. We could and should do = the same.
As far as I know, they do not have parameterized packages.

I definitely support more package-splitting and depen= dency tree-shaking where possible. Getting a core Guix System down to Alp= ine size would be fantastic.

For example, `docker size python` sho= ws a 171.4mb bundle size just for Python alone, while `docker images pyth= on:alpine` shows a 44.3mb system image, which includes a bunch of system = stuff in addition to Python. It would be great to have tools to understan= d what's in our big Guix packages and how we could ship light bundles tha= t get the job done.
----==_mimepart_5fb1dbf2d85ae_35012dc81603d--