From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 0Bb0CxMOa2dqRQEAqHPOHw:P1 (envelope-from ) for ; Tue, 24 Dec 2024 19:40:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0Bb0CxMOa2dqRQEAqHPOHw (envelope-from ) for ; Tue, 24 Dec 2024 20:40:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=terracrypt.net header.s=fm3 header.b=1U1mpnSK; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=VMEX8S2I; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735069202; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZlydPhdiR+6NlQJAGrFTNfCrCV7dd6khl8GIxOrUjEo=; b=aqE7E0RQ+3eTfjcn2z7ykKXDIct6dmOFqmhfTZMs92nK/NiBXIXrGT4oa1QPgjDUGgqNwE IUoUTfqiO/en80vKmE9jQDCywzwVHajtwQtE/lxOFpU9mOSoTj2kLcJL5nBPExWmT3t6wK ueLy7dYPbvIqj1BivxpfVN2qB/vgJj5WzAw3e5iTFb0A18LMUlLclqn+RJsUkqhQX0E/6+ n0ABqJVuwpzmHv4MPhIWWPWR6HbR1OTdZHNSlALA3Q0CIDcSrWQv6Y711Ju3KX3w1FTtlJ cb6ibC1Yd2HtriH28ERtzi+cnXq7RIF2GCGzPaxUraIaa2Ixs2SWQxKysKPwhA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=terracrypt.net header.s=fm3 header.b=1U1mpnSK; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=VMEX8S2I; 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=1735069202; a=rsa-sha256; cv=none; b=iT8DfP3Yob3NfeGUVAw7arjTjXYoejonJzUfColRKILJdaL/NOBARONzQ2Hb8uznrLtY5M DO1un+CSFHm7byIEcnC9nx0GYnJeL2PV8DdAjhCV7BB1qew1/PaUk91dErWhLSmIVgPO7u 92UGhK+z3MGZzWCb2f/FEu+WRF4NcQ2YzP5s+TYkZKOUK04oZy/aTWeALh0b4xXkZ5wgHq G1+tB+df0SZtohv2wbIJKDksgQcVVkONB0fmft+jnsBHq1V3fMlOdRoz0x2lfEV24mvD9H 1DlBtq13yPmD0n8NkbsfVnrjGMxenRSep6lM8i7yhsyXV2IpXZy32913lk2CxQ== 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 294651BDD5 for ; Tue, 24 Dec 2024 20:40:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQAkY-0004py-W6; Tue, 24 Dec 2024 14:39:27 -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 1tQAkX-0004pc-6g for help-guix@gnu.org; Tue, 24 Dec 2024 14:39:25 -0500 Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQAkV-00089j-6o for help-guix@gnu.org; Tue, 24 Dec 2024 14:39:24 -0500 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 0D0FB2540140 for ; Tue, 24 Dec 2024 14:39:20 -0500 (EST) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-06.internal (MEProxy); Tue, 24 Dec 2024 14:39:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=terracrypt.net; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm3; t=1735069159; x=1735155559; bh=Zl ydPhdiR+6NlQJAGrFTNfCrCV7dd6khl8GIxOrUjEo=; b=1U1mpnSK03V8s/+j0S 8LZqAsCF8Hno6wtp5Mykyh2WR0CR3O4cUjMDLzjQ4d4F8Upg6TYfFo5Dco8B3sVA iZNoSQsg8MXjj7KBgooztzXI9L2/jM8UIZ4U5V/pBbVy1zGX5QKjuQRJHuGAXaSk BaMmlDcnH59SUrlMsRMm00xrA+yP0yS1YdRLbAx6EaTAZ7CdLmpi7rAcsYhTbC/E 0dviTlTlpZHGIalFSn28N5oWIPsdPiExw7hx7MYR9pMtt+irav5azhPhhUk2JouF xTbBa98tMEHE4eAYij+4/nOMN+P6IjI7E4+aev1BZn77OzVK+UWvjHFxo5tidY1o 9p2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1735069159; x=1735155559; bh=ZlydPhdiR+6NlQJAGrFTNfCrCV7dd6khl8G IxOrUjEo=; b=VMEX8S2I43Eg5AfGeKSObhO8mdp+I7rCLJjV5GvXFTvsqT/TwEi 5sRu65H83F5eOQJ7K1CLThcJXndAG3xqWz2v4bR92d1iC/WQ42FvT0EGD8iL5yhc xRBMT5DIMX/8MpYBzkEAdlOoWMZEDqkOKI6ULe7VRHVda1Yw3WA2y6fKt4O9m6gY 1uNNZFSl2RjBLOladtP8ejupywxVrFQY49skGU621l8OuaBImoxcoZnsgTICLZp1 taL2EaeYdzReech+aMv9VHnQcJi8jdsMQatN6ZZ38pWyY1tQG8+tFwVJIkcLcDnS bH59EbDi9I35mXWLvIIiE6ImvYT8NXHIc7w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddugedguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggff fhvffkufgtgfesthejredtredttdenucfhrhhomhepfdflohhnrghthhgrnhcuhfhrvggu vghrihgtkhhsohhnfdcuoehjohhnrghthhgrnhesthgvrhhrrggtrhihphhtrdhnvghtqe enucggtffrrghtthgvrhhnpedvvdetgfffgfeuhfdvledugffhgfeklefffefgvdeivedu heekvdeghfdvhfdvhfenucffohhmrghinhepghhnuhdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhnrghthhgrnhesthgvrhhr rggtrhihphhtrdhnvghtpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuth dprhgtphhtthhopehhvghlphdqghhuihigsehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: if4194509:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 8B725B0006B; Tue, 24 Dec 2024 14:39:19 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Tue, 24 Dec 2024 14:38:59 -0500 From: "Jonathan Frederickson" To: help-guix@gnu.org Message-Id: <1f6cc191-0347-4447-892a-9807674bf625@app.fastmail.com> Subject: Offloading builds asynchronously for use by low-powered machines (or: can you get a home config derivation without building its packages?) Content-Type: text/plain Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=202.12.124.158; envelope-from=jonathan@terracrypt.net; helo=fhigh-b7-smtp.messagingengine.com 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-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: -8.07 X-Spam-Score: -8.07 X-Migadu-Queue-Id: 294651BDD5 X-Migadu-Scanner: mx10.migadu.com X-TUID: 6Nm1sWpSbu7L Hi - I've been using Guix on a couple slower aarch64 machines for a while. One of the recurring pain points with doing so has been that very often, when I go to build my home environment after a fresh 'guix pull', most of the packages in it do not yet have substitutes built. I do also have a couple more powerful aarch64 machines available, so build offloading is an option. However, one of the machines I use most frequently is a small laptop (the MNT Pocket Reform), which is meant to be very portable. Even on my more powerful machines, building everything in my home environment when no (or very few) substitutes are available may take multiple hours or sometimes days, and build offloading being synchronous means the machine needs to maintain a constant connection to the build servers during a build. This is very inconvenient for a portable machine! What I would *like* to be able to do is to trigger a build on another more powerful machine asynchronously, and then later come back and build my home environment using the substitutes from that build. The Guix Build Coordinator seems like it may serve my needs fairly well based on the description in this blog post: https://guix.gnu.org/en/blog/2021/building-derivations-how-complicated-can-it-be/ ...but in contrast to building a specific package with 'guix build', it doesn't look like I'm able to get the derivation path for a home configuration without first building the packages! Running 'guix build -d -f /path/to/home/config' attempts to build the packages in my home configuration if they're not yet built, rather than returning a derivation that I could submit to the build coordinator. I admit that I don't fully grok derivations yet; is this inevitable for derivations, or is it just a limitation of 'guix build' and is there actually a way to get at the home configuration derivation prior to building its packages? Thanks, - jfred