From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CGEuLIaeLGf5BQEA62LTzQ:P1 (envelope-from ) for ; Thu, 07 Nov 2024 11:03:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CGEuLIaeLGf5BQEA62LTzQ (envelope-from ) for ; Thu, 07 Nov 2024 12:03:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=Oq5PxP+N; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1"); 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-Seal: i=2; s=key1; d=yhetil.org; t=1730977414; a=rsa-sha256; cv=pass; b=CxqUjPEcpNCcNMSfK7L3RpixdMg3cp1lFyAJeiUSYMmb7QivuXudMOtF58Z+HV81uE9DU2 BJEV3T5WM9oPcBSX/qT435grGxQMRITtB0oMh0TJ4r1Q1/WSSXGfaIqzOPxEuiQdeEHRGW PAnSxRTqddt2iI1FwDcdg1PBVYQhtUq9QMfT0IaTlhyBvPfqpNlTBWTaI7wO/ZCE+2qCck 8cUe6D1nBjKZCCH/qUMUIGCaLG6jC6PKqs4dbcipZUCdxmIAApJkUrAn9eoEItEog2+3GM SWMILDQCvR6FXb2ksGFO2z7XB3yXwBXmt39/e1oAMsM1ZJHqhRQrNyEBU2mH0Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=rdklein.fr header.s=zoho header.b=Oq5PxP+N; dmarc=none; arc=pass ("zohomail.eu:s=zohoarc:i=1"); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730977414; 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: 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=dG1m73WafomGafOyTGAhs7k9Tnhg9Wg5jaQRrSmvzJc=; b=jzmlnKcCEx3JBPkh4/JynfYdT/yCTRNbBvKguCpddMLOA0mHazkZlChIlDoPueWl9lgqz4 oHmNfJ7ovkWq/y2+hA3ksYf1bv42G+n36Il6GO3bBkfUPhwyF4D/0XELRjkIFnSLXzHDYG M6ypUzxqV1ZAXA3LbYUCp1sV+UM45qWSRyZ60FZbM8bL2+MrWhl58PSM7g0u/MJQTofpQg 4Y+Ew8IZC2RkDMLQuSyhIGY0PaVEx8t7ucnoDJlyl8anuOAgLHvnJGW4cq5WOT95D6jFKm sTazHHp+webRIaGIv9IclDFEpKweQ1c8VtNXuVlPSPtoAiont5Z+8oyXCTm6LA== 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 3E3698E8F5 for ; Thu, 07 Nov 2024 12:03:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t90I2-0001az-3e; Thu, 07 Nov 2024 06:03:02 -0500 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 1t90Hz-0001YC-Bw for help-guix@gnu.org; Thu, 07 Nov 2024 06:02:59 -0500 Received: from sender-op-o19.zoho.eu ([136.143.169.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t90Hv-0000s7-Km for help-guix@gnu.org; Thu, 07 Nov 2024 06:02:59 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1730977368; cv=none; d=zohomail.eu; s=zohoarc; b=gXnCckUdmMkGFK7UYYmaUX3kzImT2Oz5lNahh7++s2LSKwba4wz02kIxRsCUtGX/I34IAnPUL+uAba1SB35L9a1rbk4SobmJ18E3SFZOdlGr9y8HGo2PtKGSZ91ag0FCRtgSWnfKHa5pTNPqUsHyX0CZEclMtaN0YimJo2Ht0c4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1730977368; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=dG1m73WafomGafOyTGAhs7k9Tnhg9Wg5jaQRrSmvzJc=; b=eFEILbAnhhtpTP7ktlWPjLLUZynf/S9YCSvVim62lmDa5AJdFjXLB2XKMRihrGtYpgfyVPArOF0EfI5NWIRb7+UIY7G05UP8Kk1lfG30Qmbh5CqR3gnYFxcKTWNYHgjBA2DBMyOD7G3/F6bpSU5WddpvnpnmelKi8FRyjZRR748= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1730977368; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=dG1m73WafomGafOyTGAhs7k9Tnhg9Wg5jaQRrSmvzJc=; b=Oq5PxP+N9u5mutVX59kRzFwCI4ricQUfMtz8pVVj7tSNx4mqt2ZLC+6G2koH3fUU ZT8UrbbelOF1BpXXoLwL7clVkTufeOOVAJAHHlffQtZxM5LT1y4mpa4nCprvnbY5l0v imeuZxMtxHmPZMIT2WDSUbY+dByIgKwRj1jbKEWZe/sudONZ9YDYuy0T/hUnwUdyqZk jDBMbeMk8uEfC+ADNWkKy+iCwlLtECGvAfGAB3pogjV9HJM3Kw00BY5Q5gGfiDGqtdF 1/zOyvko0ynkM3qtE2lzzudVb2wDXg6z05DQZGeKIUu6ke29dDT1Acw/FGsRN0y/aBM VYBIY+P3hA== Received: by mx.zoho.eu with SMTPS id 1730977365126132.51288268315477; Thu, 7 Nov 2024 12:02:45 +0100 (CET) References: <87jzdfcsng.wl-hako@ultrarare.space> User-agent: mu4e 1.10.2; emacs 28.2 From: Edouard Klein To: Simen =?utf-8?Q?Endsj=C3=B8?= Cc: Hilton Chain , help-guix@gnu.org Subject: Re: Avoid sending sources to offload servers Date: Thu, 07 Nov 2024 12:00:42 +0100 In-reply-to: Message-ID: <87o72rl32g.fsf@rdklein.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.169.19; envelope-from=edou@rdklein.fr; helo=sender-op-o19.zoho.eu 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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: -3.39 X-Spam-Score: -3.39 X-Migadu-Queue-Id: 3E3698E8F5 X-Migadu-Scanner: mx10.migadu.com X-TUID: mcoP2ndSQ2pn I may be mistaken, but you I think you can run guix build a with offloading, and guix build b c without, then when you run guix shell, a, b, and c will all be in your store and won't need to be rebuilt. Simen Endsj=C3=B8 writes: > Yes, that's what I'm using, but it's not granular. The problem is things = like `guix shell a b c`. > - a has a small source and long build time > - b has a large source and short build time > - c has a large output > > a is no problem to offload, but b will cause a lot of unnecessary traffic= , and I might want to run c locally to to avoid passing a lot of data. > > I cannot tell --no-offload skip b and c, so If I have a single problemati= c package in my system, home or in a guix shell, I have to disable offloadi= ng for all packages. > > On Thu, Nov 7, 2024, at 10:14, Hilton Chain wrote: >> Hi Simen, >> >> On Thu, 07 Nov 2024 16:57:26 +0800, >> Simen Endsj=C3=B8 wrote: >> > >> > I notice package sources are sent to offload servers. I have a build t= hat has >> > 1.9GB sources, and results in a 4.7GB store item. I would have thought= only the >> > definitions were sent to the build machine, and it would download the = 1.9GB >> > file, but it seems this file is sent from my machine. I cannot see a w= ay around >> > this, and it makes it difficult to combine this package with packages = I wish to >> > offload as I cannot state certain packages shouldn't be offloaded. >> > >> > Not sure what I'm asking here, just wanted to point out an issue which= causes >> > problems. >> >> Guix commands that can spawn builds have a =E2=80=98--no-offload=E2=80= =99 option, you can see >> more these options here[1]. >> >> >> Thanks >> --- >> [1]: https://guix.gnu.org/manual/devel/en/html_node/Common-Build-Options= .html >>