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 0I+5DmGAfWZI1gAA62LTzQ:P1 (envelope-from ) for ; Thu, 27 Jun 2024 15:08:17 +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 0I+5DmGAfWZI1gAA62LTzQ (envelope-from ) for ; Thu, 27 Jun 2024 17:08:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719500897; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=v7PpO5NcSOulfLleGQjBJ/4XN+cXU2zTAGDypkAY2cs=; b=Ia+E057D26UHeKNuuDHpj1akZGnCyFAsNU8oFcc+5qhLy8Nhs5xSP9RKT8n4rYT/b3puPM pZ6ePoQ+zUXTUmPnvkfmfdOMiMSjHEmpq3mq8cAzV40cNNBa80VrN7lOwgqMSr6XKYBU5c RWHGhrVgOJGXoyUw7Yk84cyr/pOZD01AYOeIFEXCRhPPGHJ/js7V4zLGd4gVpi4IjRavCD 5IiClLipAhYsmjvhRmsvzq4TH9FmxOClVjQweejT4nKF9od8fMvhHhEOwYi0mo9dnqJDCm Rcg05s9eUlL2PXtr3JDZm1Ib7Udt9le6XL9pOg/jB2PlgarC9Lz8DkAvjyramQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719500897; a=rsa-sha256; cv=none; b=BzsLSH+1g9itFL2FBcCsqovIDcggMSmMb4KVRCkZ9e/9nZ8HgxGYIRDYiryG5NeVDLyE+f NDMxLcIapFzs1wmo7/z3z04DpWbKeJoLb8/nI0X5CxvZv9eG//Aup3Yx2zFbbHVAHOl/M4 cIooN+OH1Ky/QNYtQb/UMAmPG4tnMJiC25rAYsvstbtbsZBo5yR1aKfpeOLagp/7Fadu8i KsxXNT1u8voBHXxY9sy7s3EU8HXcnJ0lc4Eu89dGpvjcFhK9Bc8sd85mkDqOFAv6+9l4Qa anImwnR+pQ19u1MfUOdo2iLjRXy2cYku612H5qepycTnmrcgifhLusN7bWT12g== 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 F35E720131 for ; Thu, 27 Jun 2024 17:08:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMqjD-0001ed-BU; Thu, 27 Jun 2024 11:08:03 -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 1sMqjA-0001eH-VC for guix-patches@gnu.org; Thu, 27 Jun 2024 11:08:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMqjA-00029T-34 for guix-patches@gnu.org; Thu, 27 Jun 2024 11:08:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMqjC-0001N1-JZ for guix-patches@gnu.org; Thu, 27 Jun 2024 11:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71802] [PATCH 0/1] Avoid guix home reconfiguration when nothing is to be done. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Jun 2024 15:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71802 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71802@debbugs.gnu.org Cc: ngraves@ngraves.fr, andrew@trop.in X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17195008305019 (code B ref -1); Thu, 27 Jun 2024 15:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jun 2024 15:07:10 +0000 Received: from localhost ([127.0.0.1]:43133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMqiL-0001It-Vy for submit@debbugs.gnu.org; Thu, 27 Jun 2024 11:07:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:58212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMqiK-0001Im-GE for submit@debbugs.gnu.org; Thu, 27 Jun 2024 11:07:08 -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 1sMqiH-0001Ra-7K for guix-patches@gnu.org; Thu, 27 Jun 2024 11:07:05 -0400 Received: from 16.mo583.mail-out.ovh.net ([87.98.174.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMqiD-0001tv-9J for guix-patches@gnu.org; Thu, 27 Jun 2024 11:07:04 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.139.225]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4W923F2Lp2z1K5y for ; Thu, 27 Jun 2024 15:06:48 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-mcrrc (unknown [10.110.96.193]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 9B6DC1FEAA; Thu, 27 Jun 2024 15:06:47 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-6684bf9d7b-mcrrc with ESMTPSA id 88OWDgeAfWak8QAA3IHzLA (envelope-from ); Thu, 27 Jun 2024 15:06:47 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Thu, 27 Jun 2024 17:00:40 +0200 Message-ID: <20240627150643.30981-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 9225623839507407451 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrtdeggdekhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekffegteffgfffjeegjedvfffgtddvueeutefgfeeuvdejgedvgeejjeevueeuveenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth Received-SPF: pass client-ip=87.98.174.144; envelope-from=ngraves@ngraves.fr; helo=16.mo583.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.57 X-Migadu-Queue-Id: F35E720131 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.57 X-TUID: gr/YCXXFdUCT While experimenting with profile reconfigurations almost a year ago, a thing that happened a lot was that I reconfigured a lot while often I didn't need to. In the event a guix system / guix home wrapper comes to life (I've experimented for that in RDE), such a reflex to avoid switching to new profiles that already are existing profiles is welcome IMO. This is not a definitive proposal but rather an illustration of an approach which could be implemented at other places too to avoid some unecessary calculations / reconfigurations. Nicolas Graves (1): guix: home: Avoid home reconfiguration when nothing is to be done. guix/scripts/home.scm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) -- 2.45.2