From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id AAcwHkk5Q2b2aAEAqHPOHw:P1 (envelope-from ) for ; Tue, 14 May 2024 12:13:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AAcwHkk5Q2b2aAEAqHPOHw (envelope-from ) for ; Tue, 14 May 2024 12:13:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=gnsnn0t5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715681609; 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=KvueDyYtkMbLGdhX5upItrwp9Q8hZEQCXXbRS/H9BsM=; b=prYJY0omMPB1iTmkQo9w+Jxig7wBnpXqchz8k9DcFWqQOAR3pX5nPZDfDzqftUpcWB/nKU 0axTtQgc0W4KYJah5wAPVwQNBG9HWuADMacYWtJlkupPJSXdSzCeITA+ICCLhaMRJBoEKO eCZFALbC400f+U1Z3nF0PzlxKeDJguNbEln/C5q8QhcvTkve/E9mPIHUqt9dyjHc4bAjIs UYCWCAqIwnQASaAPwqLAO52YTgsqGBYeGNI2bMRDWrX0KIW1cbgpJ21vl8grJxB/Frr7oB JDeSxeNREp5YzncGYLHkQ7UTnvad5YBKbeL08EvBm2Hr8/7l+aZ7RFCdH6+f+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715681609; a=rsa-sha256; cv=none; b=ozVD7/3Boyt/gPu03/wGzEfvIfiSoGCEDY/H8CCNd8WSxLunpEWXyfe6p1gRiQwRbIE+us XIZ+L/fOBvPYTMyx5uEL9lg4J2bvRPHcy0luWJoeHoM+oNiXrCvPhdDnYWqPOBUE+99gtM LRsFzWPFbuimS0gSpN3Jx8nSIqaASXj9Fe2aUqj1Zk3cnNgXi35huWS6ZTRRHbDbeoZL1J XK3wjpY+gsTDFuG0LBtyPsxZlPzWYC2UijxhCkSxmFk+DidW7uIrYhjZfdbTYt15EmBi4y 8xO8ohMLucNWH+S4Ldmyq4ZZAs3cs8wQi2jCi32AGnObBZ/RbzBIBWkX64eZLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=gnsnn0t5; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" 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 45B3D6EB2 for ; Tue, 14 May 2024 12:13:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6p9M-0003oy-EZ; Tue, 14 May 2024 06:12:48 -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 1s6p9K-0003on-9b for guix-devel@gnu.org; Tue, 14 May 2024 06:12:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6p9I-0003Gm-LY; Tue, 14 May 2024 06:12:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=KvueDyYtkMbLGdhX5upItrwp9Q8hZEQCXXbRS/H9BsM=; b=gnsnn0t5BiJQGQTLV/qG oDQucMWF90emT649LuEfXzBlUOEzEO16P6BymCe/3fWaB+8zzLyLKJqbUQUyX0yupyLwmbKOMnU/X QQxfpGNW4wPw5GNn4uzmjtGn0P5Wpbsbj99fnbo9ghkQMtuGbLFw6m68gPU4XaPHcxJ0C/On614FA r/7RH1ZiQHVnq49S8tMSNXdqIKcg+ywi9eo3UrgOA7veilRwBjRjq9PNs6yH4vTULw9GeZ+cE6lRz 0pEuZNiC/ezhujKJkOB8KW6ZlIta3e/cdi/oyC2QNk/ONb0O6sNwDxqI/4EuGcgAHYpY//D6SLQtj RB7l/sBarfN1Rg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Edouard Klein Cc: guix-devel@gnu.org Subject: Re: Guix pull: avoiding "Computing Guix derivation" In-Reply-To: <874jb16993.fsf@rdklein.fr> (Edouard Klein's message of "Mon, 13 May 2024 17:04:22 +0200") References: <874jb16993.fsf@rdklein.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 26 =?utf-8?Q?Flor=C3=A9al?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Fusain X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 14 May 2024 12:12:31 +0200 Message-ID: <87r0e43do0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.63 X-Spam-Score: -6.63 X-Migadu-Queue-Id: 45B3D6EB2 X-Migadu-Scanner: mx11.migadu.com X-TUID: OuTYSbz/u943 Hi, Edouard Klein skribis: > - Why is this step not substitutable ? The inputs are known, a hash can > be derived, a substitute server could be queried for an output of that > hash ? What am I missing ? Does the guix derivation not end up in the > store ? What makes it so special that it can't be served by a substitute > server ? It=E2=80=99s not substitutable because it=E2=80=99s not a derivation. It= =E2=80=99s not a derivation because it needs to access the store to =E2=80=9Ccompute the Guix derivation=E2=80=9D. The latter could be addressed with =E2=80=9Cnested=E2=80=9D or =E2=80=9Crec= ursive=E2=80=9D derivations as Nix calls them, but it=E2=80=99s quite a beast. Anther option would be to have a built-in derivation builder that would do that process on behalf of users. That would turn the process into a derivation, which is thus cachable, substitutable, etc. > - Is there a way (even a very dirty one, like hand copying stuff accross > /var/guix/profiles/per-user/*/current-guix) I can stop paying this 4 > minutes per user price ? As I said, this is downtime on my server, as > I need to stop all other services to let guix pull finish. I don=E2=80=99t know of any quick hack for that. Thanks, Ludo=E2=80=99.