From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 SKkqL9PTmGLZAgAAbAwnHQ (envelope-from ) for ; Thu, 02 Jun 2022 17:14:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kDxVLtPTmGIy+gAAG6o9tA (envelope-from ) for ; Thu, 02 Jun 2022 17:14:27 +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 54C3618C92 for ; Thu, 2 Jun 2022 17:14:27 +0200 (CEST) Received: from localhost ([::1]:45496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwmWn-0001aA-Pj for larch@yhetil.org; Thu, 02 Jun 2022 11:14:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwmVo-0000Ib-HY for guix-devel@gnu.org; Thu, 02 Jun 2022 11:13:24 -0400 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]:36436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwmVl-0006Bl-62 for guix-devel@gnu.org; Thu, 02 Jun 2022 11:13:23 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id eFDG270034UW6Th01FDG8C; Thu, 02 Jun 2022 17:13:16 +0200 Message-ID: Subject: Re: Move switch-symlinks to (guix build utils) From: Maxime Devos To: Arun Isaac , Guix Devel Date: Thu, 02 Jun 2022 17:13:15 +0200 In-Reply-To: <87ee07cdfn.fsf@systemreboot.net> References: <87pmjsdeh7.fsf@systemreboot.net> <72a63d9badd632af81adb75b66cd95d9c05bc31a.camel@telenet.be> <87ee07cdfn.fsf@systemreboot.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-CzB95+RCcEgDOva85Kmd" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1654182796; bh=8geizTtxSqLs4GSEoTkdHNmpyiwV4Y3VcMHxkQYXE+w=; h=Subject:From:To:Date:In-Reply-To:References; b=eezDGRkcfnd9Lk1sz0NkRUDJDgJImB0Y5mPjL/6FX1vSCpkeez8Su6XrNjQe9TOk1 +axESqhmFcBXi/XEu2KDd4qgwNuAngAAudzDMDdzMpHFOyMjAGvLI2BPml852sGT2P bLYfWHEJsvncFMP8IRLgKjb7/qf1ESYbcq33pESQLTvmm7WDYXoRwe+GioH+qanK9L z0/fClTvsHwCPbIFGRRcOfoXUBwwg7IHCxgAvCJx0deG+a39HD8tVaDExpxzvsHvRZ ARBh8MvmvRdJC3hlRNP2txHFy5RsvcOjIpeWougj803lz3BLOFdyrTTYFjLwyFzInd m1ffFYJfSC9EA== Received-SPF: pass client-ip=2a02:1800:120:4::f00:13; envelope-from=maximedevos@telenet.be; helo=baptiste.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" 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=1654182867; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8geizTtxSqLs4GSEoTkdHNmpyiwV4Y3VcMHxkQYXE+w=; b=CsVEF0uKzg+dQsKODWcqTG9rzDqEDZTh59LnJncoZKIBxMo0dB1XcYlc2okTFIy7sckRMJ kZKasHXInB8TsqprjdBFD3FEp7HUFQj6En7GerdfBz9lQfKt80jeRJF06227gOHflbH2kz SXafIyrcewOJPmQKj8YjnDVUTMwXIArdmQ0JHAP/3Ys6mU6QXrsc/s1/8TeukcE9c5iWVB F1OtdjapTCgTdYCjNWkvFo+cwK8IT/H19mGyy5EY6bc+jMuyHfx3spPXE14CuhUV6Opltg R3aob72otne+aLz0EUQofFrnFtGXPbM9y3QjK1EjRZbEifBeKTjXAcNiQq+h9Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654182867; a=rsa-sha256; cv=none; b=m7l88F/Dwd/w56erWpfnmumljGKRuXKN7RjjrAcWpUgAea67UNYIhHUCJMv3JRjVtQgAiU PX3PtWMLoaPtcL5YORFCEd0rrXF5CJhQI1xcPUptFMFGpcyW51AjLmpzYnl1zN/Lj5v7PX oXwXFQZoAzSm0Hm9QxotIbp3ueXRYA1QKbm5xYsOQogWAwG7d+X4OFXIy2Qncg4ucseTTp DuDLiP8EcHA9g9v9LSoQjKfCN/rsrWQoP0PN81UgINfQWhumagKPSztMvR7hiWpIqEUMqs P1aQmboXmmEggVRJ2cOI/m7zdP2W3URp/Rv80/eoL213JNA14trvM32HH3Mo+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=eezDGRkc; dmarc=pass (policy=none) header.from=telenet.be; 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: -11.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=eezDGRkc; dmarc=pass (policy=none) header.from=telenet.be; 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: 54C3618C92 X-Spam-Score: -11.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: um0FrnnU/VAz --=-CzB95+RCcEgDOva85Kmd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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" If we move it to (guix build utils), I'd prefer the bug to be addressed fir= st. Greetings, Maxime. --=-CzB95+RCcEgDOva85Kmd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYpjTixccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7haIAQDKrOkep0sr5/pn8mhsQX7PhoX3 BAUElDMy7fHnq6Zh/gD+JvYRyWDGoxcIRy8AgHztERKN9MV+/kD/815SXgcfyws= =Y9pl -----END PGP SIGNATURE----- --=-CzB95+RCcEgDOva85Kmd--