From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OKEwAHCS1GRmdAAASxT56A (envelope-from ) for ; Thu, 10 Aug 2023 09:32:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AD/MOm+S1GQZQAEAG6o9tA (envelope-from ) for ; Thu, 10 Aug 2023 09:31:59 +0200 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 BA32E30F50 for ; Thu, 10 Aug 2023 09:31:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=polaris64.net header.s=MBO0001 header.b=v95uM9ub; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691652719; a=rsa-sha256; cv=none; b=YLf2fBJGawHarO3zHFQXMB2QQR+aeBMZ9Rn/1WRNf9YE/QRogrU67YSEk9AYCmCVPB72aF plTGfeJbkAsMs2J0BJXA3JTsepM0fuRFWIQDM/fYnCj3HDbSrQGpTTyTGaykCQactlg8KY mh2Ck43CKzmRAoTiBizTNuY3M9KAJqgkOSs/WOiExbhcu1CWKgpFclkU3IjblTn6PUSOlP +XRPkL6szcJRYGk6/NK1JcxsV3hrtdUz91XsvGEA0k4Eo0egs8NxtHlSZnvjfRoHU9+0mT cZNtjQa+w8uJR/MUe/mfDk6urOweRXQyUlvsjtOJSgFA75f3TD47TiAB6PXs8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691652719; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7TgRC6Bdbj0pB741V990LFfpS7hgQ+8obR+mI4y9zxo=; b=uVN4DPXdx//0bbSuZMAsp6uVRv0Yf7bA+yKY/9O2HQfTYKhuqBuQxdi7i9vaWKiRyHIIqd GCTnpDnD+gkCZ56cDZWnXEBpS5g2cbJCK0vna7AdJnkMN5mt7B/AGkLFTahD5qX8vugLz/ +Q+pLV9A5hhIjb/pApHmNNFl3lTmbuzrPLd7tCQoThVL6LuNRlxzJ1MoQJtVV609uVZARV qe311MHDazufgYfEkoa/cfeqFFfE1+1TRiM5pwB+/dbmcOWfFpCR13+G/ensbKJlpXRsC0 2+yAFZJw5c7+CqSgs1ftkIp9vD8tA5ERh8FAk3dzIQ/90LoltwovFAd86W89aQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=polaris64.net header.s=MBO0001 header.b=v95uM9ub; 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"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qU08k-0002NO-UG; Thu, 10 Aug 2023 03:31:26 -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 1qU08j-0002Mu-Dg for help-guix@gnu.org; Thu, 10 Aug 2023 03:31:25 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qU08g-00011o-B0 for help-guix@gnu.org; Thu, 10 Aug 2023 03:31:25 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4RLzBG03rVz9trP; Thu, 10 Aug 2023 09:31:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polaris64.net; s=MBO0001; t=1691652678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7TgRC6Bdbj0pB741V990LFfpS7hgQ+8obR+mI4y9zxo=; b=v95uM9ubdrPlLDNDNwSW9JKFyUCOxA6XzuJ/3h/HGIzlJtXG2VeKe5MWKnFzur7nhtC2l5 usZx9jFnpJTvz6xwoqwmkmrs6VeiV3tn8rU6AOM+X2ErGHs6y5OCmAN4vKWCuljU8TRBYk 3VsnY00mVRYN0Ds4xQtE3C77B46iCKx6b5q4dse4rQOCbhUHnZl0z7ncnoulW9XyUE0+7q k4vgmiDc3dbn597iDAgv2+h4/rza1S6NvncRC4O3VsyLdRcg5x7ntNi//uc/yl/jWSWHX6 lfke7MGih+T/mnaGf0/iNtSDK15g8797J6E2yTPgYYvEyvbE1tQ/Y2bHMJJ5Ww== References: <871qgcwd93.fsf@polaris64.net> <87350rpuw1.wl-hako@ultrarare.space> From: Simon Pugnet To: Hilton Chain Cc: help-guix@gnu.org Subject: Re: guix pack: support for something similar to Nix's buildLayeredImage Date: Thu, 10 Aug 2023 08:14:30 +0100 In-reply-to: <87350rpuw1.wl-hako@ultrarare.space> Message-ID: <87v8dn4am3.fsf@polaris64.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=80.241.56.151; envelope-from=simon@polaris64.net; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.06 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: BA32E30F50 X-Spam-Score: -9.06 X-TUID: /yVxbCAHllp9 --=-=-= Content-Type: text/plain; format=flowed Hi Hilton, Hilton Chain writes: > Hi Simon, > > On Wed, 09 Aug 2023 20:59:02 +0800, > Simon Pugnet wrote: >> >> I'm not a Guix or Nix expert but as far as I understand Nix solves >> this problem by using "pkgs.dockerTools.buildLayeredImage" (see >> http://ryantm.github.io/nixpkgs/builders/images/dockertools/#ssec-pkgs-dockerTools-buildLayeredImage) >> and "streamLayeredImage". In this example, this could in theory be >> used to build a coreutils-python image where coreutils exists in >> its >> own layer. That would mean that the coreutils-rust image could >> share >> the coreutils layer, saving space. >> >> Is there any way to achieve something similar in Guix? If not then >> are >> there any plans to support this functionality? > > It's currently not available in Guix, but there's a patch series > for it. > > Thanks Excellent, thanks for pointing that out, and sorry for missing it in my searches! Kind regards, -- Simon Pugnet https://www.polaris64.net/ PGP key fingerprint: 3BF7 85DE 162C 00C8 FB4D A6FD BA13 59A8 2C0B 3EF9 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEO/eF3hYsAMj7Tab9uhNZqCwLPvkFAmTUkkQUHHNpbW9uQHBv bGFyaXM2NC5uZXQACgkQuhNZqCwLPvmjXQ//QbrzcbGt7c60inBnQu8JGfN72Hbc ODTRohyyoXvrprXaRpHgdAMTqP1zzoqjCSUVBXQuLVpO6COwofJdw041MUw/lPh0 HxCwInha845WAdGdS/PM8a2KwuvvgOSYTxocDlK9Bvtaa/ffITaIBpzdEmKmAsh4 fAPbyejjW5hjCzy8tr74vP6gzIoQPiwvp3F/hYdn+lEBOPBameehtE3dsOqvil/s AaBioePfWtVrwx//N23KL9c709NeYQOzASqueZA53NheboK37HcDVWM6j6F30LS1 XZ1rk6hlKsVB6h01qVEMjxygybBNniej8swKkdJZfH8l+RmXNIDXp/xyQWzXrI3y Ol/kPRTThrWwxTDX/qxOhBrihEVwIIU/v5jwdM85TSayvHJEA9dBpAhqGoT+Gs18 0gBV3Z8J914Ju1bVnjq6pocHxjnLXGBU1vXv5E6H1VXhV7s6zZdJAY0Y2jYXXvyT Lsgc4jJR4yvIDpgl/BH3lnnDGXGlZKdvRcGzzLPaj4Xd3rNQsxidn5Dolh5P0Ai4 /PwBX38VbKyt/tpV3vO5L0TtaA7G+0OeGSCh/I3lkmXc2hQzLu4Du0CmawSwPdWi FvKP1X4qjCYB+l4nfKyOXBvaRnWjaoiIJsXWRbBOsj/TT81pZMlE+zim/xORvilK /I4FpUWwBLgHWJI= =upQz -----END PGP SIGNATURE----- --=-=-=--