From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 mE+ZGpc5mmJ6IAEAbAwnHQ (envelope-from ) for ; Fri, 03 Jun 2022 18:40:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +PiPGpc5mmKCVwEA9RJhRA (envelope-from ) for ; Fri, 03 Jun 2022 18:40:55 +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 29278F95E for ; Fri, 3 Jun 2022 18:40:55 +0200 (CEST) Received: from localhost ([::1]:58214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxAM1-0008FG-V0 for larch@yhetil.org; Fri, 03 Jun 2022 12:40:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxAKH-0006gq-4M for guix-devel@gnu.org; Fri, 03 Jun 2022 12:39:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxAKE-0000Az-BG; Fri, 03 Jun 2022 12:39:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=UWwBMBWooPfQdJm2j69YBhgCwAPyv79BZI8rfw55NDk=; b=oGrybH0d9IWsearq5iOJ ryUsRGnfoGSaxIMjw35A+tGjEou6Ha5mNiAqQOBISC5HTaJf5iDh3qegdDUEWZgHcHmieO0Hu3gz/ 30SNfnf9E9w9yEagAdDJFAwxPBnZejk63S4pQ9LqMBn9Tsw8FP5pgOh0xSBYzNnkz+4U2uFaTJbO9 RhRLHXVEfSTN/Rbo2kZedZ19sPyEs5/pz6Cz1AX6OcZY2PZvP0SxUMOf3/zJHMD5LUBiCMPHSzl4V Y3fFe4bfcVuRwHiNFd+8oiNHOaSEEZukXFa9OLirpCZBaljMEslBNcfBs/n3bdIWYbI2O4xpX66sM KQHh7KsGZfpXNg==; Received: from [193.50.110.183] (port=57502 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxAKD-0000ou-JR; Fri, 03 Jun 2022 12:39:02 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxime Devos Cc: Arun Isaac , Guix Devel Subject: Re: Move switch-symlinks to (guix build utils) References: <87pmjsdeh7.fsf@systemreboot.net> <72a63d9badd632af81adb75b66cd95d9c05bc31a.camel@telenet.be> <87ee07cdfn.fsf@systemreboot.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 15 Prairial an 230 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour de la Caille 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: Fri, 03 Jun 2022 18:38:59 +0200 In-Reply-To: (Maxime Devos's message of "Thu, 02 Jun 2022 17:13:15 +0200") Message-ID: <8735glk8gs.fsf@gnu.org> 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: 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" 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=1654274455; 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=UWwBMBWooPfQdJm2j69YBhgCwAPyv79BZI8rfw55NDk=; b=U6hNqXhBk+JghpZo618dPxIv6ajyMUvtYW6IfpZuQXRxtHpyQTxsyiTeP8FNeCYN75BQh6 P96l5+aZC++v5ZubIZ7bRRjtnGOpS4PLeQyTdZxb80vrIl/58RVQ++9mfLPfLtPqjmTNnM zynSAgUJ9tTKebiD5r4nvHQfpcet7uotWsfm1/OoIO3xNUqdbj3k4tp56y3SW/b8XjLsJi 49QNHaaqOd8aHaO6ci4njEb0wfRv8WxvS0znWSdhFUASCoL2NrMLAJBRuAhJ2tA4XNO1WX rG+59J20r+mCt6CgCRAQQj+CCRswn6kKXDmrwtS6KGpLSOoPSpjRdc5s1zwZ9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654274455; a=rsa-sha256; cv=none; b=UTAtvV2uK8bPtNuXYJC//X6GJoR/FunOfBMFT9n+6Qdy4c7kupvPlrb5vYtN+ki2i1M956 +Rs472Xzj+LcXTYzh9jtWzx0Ac1erAR/hUWm1gGuDmFyMvx7NyLwgaI+s018aBUnU+eAOU QlvdxPTBk7Z1ojLc2T0HkMbxT5InvCNSG1lt7U5aRttNVE29LqbMAavG12XHSlrUXnafLf AZTvXulAjg6jAQ5Qpb5PMNE99g5//qU9PqP9Ar8sVBPYU1T9MZT96jdCIuE75WEvenOvGa QgOC57vhDQFldXWzjikW6DmHrwjRFqlrc0PECAj+7vYqPRilI9O7LnQrg069JA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=oGrybH0d; 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" X-Migadu-Spam-Score: -5.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=oGrybH0d; 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" X-Migadu-Queue-Id: 29278F95E X-Spam-Score: -5.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: jo2CRBqeB913 Hi, Maxime Devos skribis: > Arun Isaac schreef op do 02-06-2022 om 20:36 [+0530]: >> Hi Maxime, >>=20 >> > To avoid a world-rebuild, you could for now make a module (guix build >> > symlinks) or such?=C2=A0 An alternative is (gnu build activation), but= then >> > some (guix ...) modules would depend on (gnu ...). >>=20 >> I don't really mind waiting for the next core-updates cycle. This >> problem has been around for a long time. It wouldn't hurt much to wait a >> bit longer. If there is consensus on this change, I can send a >> patch. WDYT? > > Downside of (guix build utils): it makes it harder to modify switch- > symlinks. I don't know if that's too much of a downside in practice.=20 > Also, there is a bug in switch-symlinks: > > (use-modules (guix utils)) > ;; simulate an interrupted switch-symlinks (C-c, power interruption, ...) > (symlink "target" "link.new") > ;; now try again > (switch-symlinks "link" "target") > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure symlink: Bestand bestaat al: "link.new" That=E2=80=99s EACCES? > If we move it to (guix build utils), I'd prefer the bug to be addressed f= irst. Yes, better be cautious before =E2=80=9Csetting it in stone=E2=80=9D. Do y= ou have a fix in mind? With this issue addressed, I think it=E2=80=99s fine to move to (guix build utils) on =E2=80=98core-updates=E2=80=99. We=E2=80=99ll have to run =E2=80= =98make check=E2=80=99 to make sure all users are updated, probably with #:select to clarify what binding they need from (guix build utils). Thanks, Ludo=E2=80=99.