From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GGyvOuKy2WJ1AAEAbAwnHQ (envelope-from ) for ; Thu, 21 Jul 2022 22:11:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MNOyOuKy2WLY0QAAauVa8A (envelope-from ) for ; Thu, 21 Jul 2022 22:11:14 +0200 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 785841BCC9 for ; Thu, 21 Jul 2022 22:11:14 +0200 (CEST) Received: from localhost ([::1]:46226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEcVt-0002oI-8a for larch@yhetil.org; Thu, 21 Jul 2022 16:11:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEcVi-0002m3-Au for guix-patches@gnu.org; Thu, 21 Jul 2022 16:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEcVi-0000ZC-1o for guix-patches@gnu.org; Thu, 21 Jul 2022 16:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEcVh-0008JF-O7 for guix-patches@gnu.org; Thu, 21 Jul 2022 16:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56618] [PATCH 0/2] Let 'guix gc -d' delete old Home generations Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Jul 2022 20:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56618 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 56618@debbugs.gnu.org, Andrew Tropin Received: via spool by 56618-submit@debbugs.gnu.org id=B56618.165843421331862 (code B ref 56618); Thu, 21 Jul 2022 20:11:01 +0000 Received: (at 56618) by debbugs.gnu.org; 21 Jul 2022 20:10:13 +0000 Received: from localhost ([127.0.0.1]:39300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEcUv-0008Hp-8i for submit@debbugs.gnu.org; Thu, 21 Jul 2022 16:10:13 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:41798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEcUq-0008HR-Eq for 56618@debbugs.gnu.org; Thu, 21 Jul 2022 16:10:11 -0400 Received: by mail-qv1-f45.google.com with SMTP id i7so2057980qvr.8 for <56618@debbugs.gnu.org>; Thu, 21 Jul 2022 13:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Z9T0CsQ8CzEshfErnK9vlBn40G+D+qUH2CA30vUb35A=; b=mhVmNHrvrP1lhX/TrZ1GRqiRkxWHIi6K12ZrvQzDDRoLyL4nFGTFZa6pF0EbocpgKe hXBY9u40G1Blfg8xtqjMYZVVdqQLywdywZwoEctQAzRXFmGMO8gBUU65/eO+ErDN+IPJ nEUWCl+rB300nTZU3yZ8bI5C5ahEnuq8pLVCUmKEitB8qVpyEhLppyXFNrED5ZcsURWB lY1ULQ1XB7ORNxFfMn4kZt+av5n+tbDhFdfyDCHIbtAzPthuMmchdfOMa9F6a7yHxeN9 QwZ/vDxWTZLrfkY4NOWEu/h22kJ+bXHAvPCQD8SXujIJfiRgDv7bLnBYVpBv4S5Jo9zv 78EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Z9T0CsQ8CzEshfErnK9vlBn40G+D+qUH2CA30vUb35A=; b=c8EsZBKxPmAbeqgpN1M+5JUMvE8NwPhW3GIJEk1XErP7N7VSGO2o93yTRso5t0etny rpeBXQGhMCmctAkjjZ/0NbwtqGBiAE1dRduSzJu9+dlFnXGCV7C6tQu/Sjig0lsUMhvE 0bNCIHfSVF91jf8LCsYYjHmb4+3uw+/FeX6AD8cYWVHNWvw8tKquL9KE/BnDLVw+Ufs3 A7pntMpeKqUw1K0EaYjwZrVx9VFI92jnzFhtZkztH5GOQz/jGfFpQBZnqClPeTo6/RER QspPLXHe67LQRyD70sNXH2yoBTQHb81CA9Wel3LBsJ+TSAvifdJQJq7HWdTa9wSLbBOC Qc7w== X-Gm-Message-State: AJIora/Dh4f80qF48J5s9aIyydODHb1G7q+JWzjjnXxQJ1ZirrrKnDg9 UKZ26rYL4AoZIsRAlCD0Ps8Dm5m29TU= X-Google-Smtp-Source: AGRyM1shsXs+h7RjIisODCO+zVxYbbCiAs3MSjRyubPsxVE8HSun2lek9ztUQDfSA4S5h6CBdhBsIA== X-Received: by 2002:a05:6214:4005:b0:472:be5a:810d with SMTP id kd5-20020a056214400500b00472be5a810dmr109109qvb.36.1658434202045; Thu, 21 Jul 2022 13:10:02 -0700 (PDT) Received: from hurd (dsl-157-32.b2b2c.ca. [66.158.157.32]) by smtp.gmail.com with ESMTPSA id j18-20020a05620a411200b006af10bd3635sm2005452qko.57.2022.07.21.13.10.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 13:10:01 -0700 (PDT) From: Maxim Cournoyer References: <20220717151930.23383-1-ludo@gnu.org> <87k08ad1b7.fsf@trop.in> <875yjtwlo4.fsf@gnu.org> <87bktlbfjo.fsf@trop.in> <87v8rqn8a7.fsf@gnu.org> Date: Thu, 21 Jul 2022 16:10:00 -0400 In-Reply-To: <87v8rqn8a7.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 21 Jul 2022 11:07:28 +0200") Message-ID: <87y1wmp6qv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658434274; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Z9T0CsQ8CzEshfErnK9vlBn40G+D+qUH2CA30vUb35A=; b=pXrSBP9KHzS53NUiIiEaW6VjCmIyXKIPVnhhF5Xd5+totmNKCPfuCPz2h4ZWSdZcoDyo+3 QSonyBrFSwGVqMgsFpTIaUlU5tVU8GmYaPAkBlypsiAxyJJhee7/eQvG77xYvMeXBEIyRL 824FlEvXQA8CgHJfItRYLB2iv5bB3ZGtJJJyw5owJ+qgFk2MA+pE2JUg3ELrZJUdG+zk45 JjTfEq3D2yw8gYHykntutIiPEuFRU7D1QwOc5TxhNZMiOgbA5OgHsVjk/+TVTcmmVw5sks ZUXoGpErjz6FC27h7dB2mY0u7G7XY/XahP+sZ8PLYGU6g0xqUsnlc9/B5LRHNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658434274; a=rsa-sha256; cv=none; b=edmconQBh2/NuOKcEx+CH7jU1gF8NCJ17wLKgkZpR5DAmkZBwN3jt3TOmqNTqmWVXP9opM DkU6yZrCJC5j9Sfwt2iCgI9jaar7kjK9x0+BCQaHnlW1TvID8GOxCisakgSdVDPDdgRleH CsICw+97OKF8XMGOC6b25cYD4sn2O67Qbor2Und1kW4KJ+kOnmm9TVWn47Ogfz/khP83Ij Lc4yAzWiod0oHf7L8it65zoBUZiPj+fHZfjjOxQ+DjqpCI1MpvH6YVTXTRrhrebsXMlDpN vVDq/JU2saCEMSeBTMe1S+JcQNU9yspesjXvlxkInBGc7jBZhwvrtT9z9Xtpyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mhVmNHrv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: 5.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mhVmNHrv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: 785841BCC9 X-Spam-Score: 5.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: frdOQdHRpFVQ Hi Ludo, Ludovic Court=C3=A8s writes: > Hi, > > Andrew Tropin skribis: > >> BTW, a little offtopic (related to gc, but not related to these changes) >> problem I have, which is very annoying: After guix gc, guix home >> rebuilds/redownloads a lot of stuff. The configuration and channels are >> absolutely the same. >> >> guix home reconfigure home-configs.scm # builds/downloads a lot of stuff >> guix gc >> guix home reconfigure home-configs.scm # do everything again >> >> Am I missing something and it is expected behavior or is it a bug? > > It=E2=80=99s an expected annoyance: to determine whether a graft needs to= be > applied, we first need to download/build the ungrafted variant, which is > why you=E2=80=99re seeing this (this is worsened by the fact that many pa= ckages > are candidates for grafting currently on =E2=80=98master=E2=80=99). A perhaps naive idea: could we register GC roots for the ungrafted variant when grafted? To avoid having to fetch it anew following 'guix gc' ? Thanks, Maxim