From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id gCm4Fhw1Q2bbeQEAe85BDQ:P1 (envelope-from ) for ; Tue, 14 May 2024 11:55:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gCm4Fhw1Q2bbeQEAe85BDQ (envelope-from ) for ; Tue, 14 May 2024 11:55:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Xl6yz6EP; dmarc=pass (policy=none) header.from=gmail.com; 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-Seal: i=1; s=key1; d=yhetil.org; t=1715680540; a=rsa-sha256; cv=none; b=qogMLZHl2oA77fCxkakLsP0rL5ZhSepEec9l7t2kfAPmhLN0AEAhowHCzRd9/DR2O+KNFy HqEu9lZQ/m7oBhQuyoY7IYhThcT9gaGXE8n2x1HlWwgBSMKjAGjUtg6oHsLDVPaAuU+Bue ZdQ5cLzqdcVXcoyQqIB2MljxaJFuh9PqGRaeDTExB9NrPB9k1SuInIFax5oUr+d8LY057n 5Z27uM7t4at9WxHGorwDti/zies8PK0E9qYagAPg9ctCJdf8OlAkhMY8HrIoHdC9Oy98pI KnVLzim+yd+SCi6AUdks0CSSxhf2iERrx7q+yLXx0Fax0paHsC0xHsy0HdO8GA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Xl6yz6EP; dmarc=pass (policy=none) header.from=gmail.com; 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=1715680540; 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=e/j374DMRPOrnjG+D92ihr0nyaRXL22D2mhgP4GKAnw=; b=hvywLbgx7dGZlWIfuOIaiAIkRQ4bxg6nS4TtYA6gnpnodPlNRID5elyIk7nUIZCHFvkzTr aDepbUMElEY7mv0HLF9nwESDorR3EhisjOqe7Ul9tMoV3rc+hYj0YCLU4IHY/MpgVNqYlD 7ystFMqbSOTyb1DAew9GLhfaPbgacsXNcVdAZx0KdLEqvMxfv2LP6GzceWa2O96BedZjyb LPd9EgkE0XJEagkbD6NfX7Z0+E6Va/bX163UqgcUeTUyHZG4Xnns2cghk1amuYf0HxU9Bh 09JjbpYhfqXqOYsiDlTI834QOcpqTJ8hFFtOG2Q2ToaRQFgmtglSxr+P/BcRrA== 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 2B50867B5B for ; Tue, 14 May 2024 11:55:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6osS-0006eM-DT; Tue, 14 May 2024 05:55:20 -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 1s6osR-0006eD-AR for guix-devel@gnu.org; Tue, 14 May 2024 05:55:19 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s6osP-0005rV-Mz for guix-devel@gnu.org; Tue, 14 May 2024 05:55:19 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-351c2c48effso287345f8f.3 for ; Tue, 14 May 2024 02:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715680516; x=1716285316; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=e/j374DMRPOrnjG+D92ihr0nyaRXL22D2mhgP4GKAnw=; b=Xl6yz6EP2mrUqIjIQz3VLtiXNXYARSHJvhnMx7fVuWn2g7rje7JkcsAeaGXZpvrvC9 JI+vFGrwwLghy2uDdBQ17cYOVup+VUKT/lBEKJUnZqDFkr9VdwTH+PFdD6AhFlF0Kv3W 1hozzflAgWSkFQdTqNjQYNYAaxQKps2yYyJaEN/DLUh8sehA3PAEt3QD8SuRA3rzJPGM T2Cp9ThCDsIPCzk+3QFTRXXqdDUxc2PHDJ+LaG6ASKVMarFRFKnxtJCOUa5tkmWMJRAP 0n0pyDYGyCF4kJk50e3CZuU6cYCuZIR1nUEaWo+0iTrOG74+fUWezswI5QCOi5f+4C5X 9M7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715680516; x=1716285316; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e/j374DMRPOrnjG+D92ihr0nyaRXL22D2mhgP4GKAnw=; b=XhneVkL/I/RYl256JqIbDCHuGJz/9xbcB3Th+WFODbx3ve6WYcU4i1MymlGZtRWb9s ATo230lCHft3zHcjwyHlHEHX5umls3srUHfYxhULWZDKb9AzwqSEkjj7tP3zkSFLITyr mCf+N485+J9SR7j8c+AjDHFMcpFyijGn7yPVxB/8YlCJt412AF4nR4bNTjD/u9JXgSFo LJGMXi77wk3TcY/6x6I0saCUHze39bkqgyDrxZVGW/eJhgABROlTzwOgItScfT6nzorx HC4Wle7UxEowmwSpWRHg4L81X0sbpjuE3RwfgMroNDMqyYa9bPL12yslcEerj41znjCt 7Asw== X-Forwarded-Encrypted: i=1; AJvYcCXaOArKNAo7zlKKZeeioqZTTEDFaLOa6WeXq04CVUdNGGSVqUsA9T8ZgDjf+ba+JjEMBZXoej4ICfpjgKMa9ntFdsI= X-Gm-Message-State: AOJu0YyQUqATfo7UdUC/cNfK6ZuoAl+Zj5jmgahwwJ2jr5NGRUWm30/+ vxf/U0PxJYxvTYRSulYlynblowpsgdfbPXmOTGc4OzqdtR1FzZP3aXg6lg== X-Google-Smtp-Source: AGHT+IHa1NeHvjTF7gTXp6xzf8RJ1C1qnZcEARI9vgm4mzUqCO9RbDLYeMUKPP/BQiAksVVR4LLLVQ== X-Received: by 2002:a05:600c:3b0a:b0:418:2719:6b14 with SMTP id 5b1f17b1804b1-41feac5a400mr92672765e9.3.1715680515874; Tue, 14 May 2024 02:55:15 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:7f8c:bd39:e99b:b82d]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccfe1358sm183868695e9.45.2024.05.14.02.55.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 02:55:15 -0700 (PDT) From: Simon Tournier To: Richard Sent Cc: Edouard Klein , guix-devel@gnu.org Subject: Re: Guix pull: avoiding "Computing Guix derivation" In-Reply-To: <87jzjx1ago.fsf@freakingpenguin.com> References: <874jb16993.fsf@rdklein.fr> <87ikzh340q.fsf@gmail.com> <87y18d1koi.fsf@freakingpenguin.com> <875xvh1e9y.fsf@gmail.com> <87jzjx1ago.fsf@freakingpenguin.com> Date: Tue, 14 May 2024 11:47:00 +0200 Message-ID: <87ttj0zpwr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42a.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 2B50867B5B X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.20 X-Spam-Score: -8.20 X-TUID: SYYEbrhFxqL3 Hi Richard, On lun., 13 mai 2024 at 20:52, Richard Sent w= rote: > You're correct. This solution wouldn't be sufficient to avoid "Computing > Guix Derivation" for every possible A or B. To my understanding it could > reduce the frequency this occurs. [...] > Assuming D changes significantly less frequently than A, B, C..., I > would think this should be something we could feasibly substitute (at > least for recent D and Z). Well, the package =E2=80=99guix=E2=80=99 has changed 14 times over the past= year. Therefore, this D cannot be this package =E2=80=99guix=E2=80=99, IMHO. --8<---------------cut here---------------start------------->8--- $ git log --format=3D"%cd %s" --since=3D"1 year ago" | grep 'gnu: guix: Upd= ate'=20 Mon May 13 18:22:53 2024 +0200 gnu: guix: Update to 7ca9809. Tue Mar 12 14:27:01 2024 +0100 gnu: guix: Update to 4c94b9e. Mon Mar 11 23:14:37 2024 +0100 gnu: guix: Update to 8f4ffb3. Sat Dec 2 15:37:44 2023 +0100 gnu: guix: Update to 1.4.0-16.aeb494322c. Thu Nov 30 07:15:36 2023 +0100 gnu: guix: Update to 1.4.0-15.e0885fcfbb. Thu Nov 9 10:42:55 2023 +0200 gnu: guix: Update to a60ff46. Fri Oct 6 12:26:44 2023 +0200 gnu: guix: Update to e863274. Thu Sep 28 11:44:08 2023 +0200 gnu: guix: Update to d0438fc. Mon Sep 18 12:31:52 2023 +0200 Revert "gnu: guix: Update to 1.4.0-11.658de2= 5e99." Mon Sep 18 06:49:46 2023 +0200 gnu: guix: Update to 1.4.0-11.658de25e99. Tue Aug 22 21:30:49 2023 +0200 gnu: guix: Update to 1.4.0-10.4dfdd82210. Tue Aug 22 11:17:52 2023 +0200 gnu: guix: Update to 30355c1. Mon Oct 2 09:28:02 2023 +0200 gnu: guix: Update to 1.4.0-12.b9fae146d6. Mon Aug 21 18:44:49 2023 +0200 gnu: guix: Update to 0e6215a. Fri Jun 9 22:11:14 2023 +0200 gnu: guix: Update to 44bbfc2. --8<---------------cut here---------------end--------------->8--- Maybe I have a bad practise but here my =E2=80=9Cguix pull=E2=80=9D history: --8<---------------cut here---------------start------------->8--- $ guix pull -l | grep Generation Generation 1 nov. 17 2023 13:18:58 Generation 2 d=C3=A9c. 11 2023 10:55:51 Generation 3 f=C3=A9vr. 02 2024 01:56:52 Generation 4 mars 25 2024 18:22:25 Generation 5 mai 13 2024 19:28:31 (current) --8<---------------cut here---------------end--------------->8--- Therefore, I am not convinced that replacing "Computing Guix derivation" (build-aux/build-self.scm) by the package =E2=80=99guix=E2=80=99 would be r= obust enough. (Assuming another package =E2=80=99guix=E2=80=99, lighter e.g., without req= uiring the test suite, etc.) All that said, any experiment =E2=80=93 even if it appears at first clunky = =E2=80=93 is very welcome! This part will be improved only if there is a collective effort / discussion / try, IMHO, i.e., by challenging the status quo. :-) Cheers, simon