From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0D6lHm6maWdV/wAAqHPOHw:P1 (envelope-from ) for ; Mon, 23 Dec 2024 18:05:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0D6lHm6maWdV/wAAqHPOHw (envelope-from ) for ; Mon, 23 Dec 2024 19:05:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TNu8Sg2x; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=W9k9ouef; 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=1734977134; 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:resent-to: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=SziWJq8tKNq+YI57QFlsGrh/z+NEPI4xwLQXdnAoxeQ=; b=D32W4M4v9IegUqMZ2tz+DGdOwyqtS5OfW5qVcDM489zX5pakYxhLrqJ3qBn5r5B3W0IzhY WDHOJqEyh+ahvl5+D1PuE/aYQRXmmZmfoYD5AC3jFAQzkdeKRE/1LsdYDovqCRCY9bywIy WjcCZx02BlhMG8MOrv9fly+5pyP3JyNxKYTN6cOlrZ38sfwRONR7wy0JHfvZb/ydKPy141 yS9KNY+Iyf9Z6Rs4VNDAEUQAy3zBlPkQ9qEJ4Ws4EhNyLcnNbKUP4ZAu/BMoyv48eGie9n qBO2v+Wg3of487flt0WFxBX5aj3Zh7C1UKywEoFotHiZhcfrODTw4/YJDFW6dg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TNu8Sg2x; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=W9k9ouef; 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=1734977134; a=rsa-sha256; cv=none; b=qF2J1ZWEKt55RTDS4yv8atirbdDFAaUCH3jyd7zSsROJ7JP/qRdw7cCqcZ6891FvmBvpKt Ys77/m6qQ8yDmZiZwMV3nTz4TclX09fqh3HkdEdqn93MPUsxQQfLitaFaVO6mRvxVEdYTG Kusfa4LtGKTb1UhZlvLU8Kb5lOr9f1YjwNCEsRQG/RKU1D6JvqqhKU7CwadaEjWVw65QCT GI1HnY+4sFOu5yIPXQf+DUp6HHW7cML+zpy7wqdrfigjd30WWuSp0KvkgbwEhs4pe769um S3xP3XqFZBJL5xgiX5z5oQcIMT+5UGdMRV0BqN9hi3WkYtWTKtfXCTY6dD5IPw== 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 15BF58188C for ; Mon, 23 Dec 2024 19:05:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPmni-0003I2-Cr; Mon, 23 Dec 2024 13:05:06 -0500 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 1tPmng-0003GP-Nd for guix-patches@gnu.org; Mon, 23 Dec 2024 13:05:04 -0500 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 1tPmng-0007YE-EL for guix-patches@gnu.org; Mon, 23 Dec 2024 13:05:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=SziWJq8tKNq+YI57QFlsGrh/z+NEPI4xwLQXdnAoxeQ=; b=TNu8Sg2x5t0TjDhKW44LX+haMrQJvcO6NpS6qxtTx5pvsucwoXiMyKD5JVzWaEqAPbNCKHDsEe5A+J7aRxT9ERrzhV9eOZpMmNq/SaUNQmE6TK4idsiVkyfMudqeHgNaoY1dKxCeV6ryf9MZfn4HZQ36xet7RL2xuwkb/pAYy5QTABS+Y+TOLQlG55TKdEPnJf7j/hfaq1Un9OyQ60kp2pWDUUHaQucqFkGAWiW2Z2Z0MTScb5oJsyNZOxaO+R1teaCOfzVWmTKm78KAH2H4Xo6OqID3n5JT+cxxL5QeCJoHNhKuCW3W/EHP177eN7L5sJGTABWTxAN7mtmFX7mV4w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPmnf-00028v-RH for guix-patches@gnu.org; Mon, 23 Dec 2024 13:05:03 -0500 Subject: bug#74872: bugfix: update symlinks Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 23 Dec 2024 18:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: ngraves@ngraves.fr Cc: 74872-done@debbugs.gnu.org Mail-Followup-To: 74872@debbugs.gnu.org, ludo@gnu.org, ngraves@ngraves.fr Received: via spool by 74872-done@debbugs.gnu.org id=D74872.17349770828194 (code D ref 74872); Mon, 23 Dec 2024 18:05:03 +0000 Received: (at 74872-done) by debbugs.gnu.org; 23 Dec 2024 18:04:42 +0000 Received: from localhost ([127.0.0.1]:56090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPmnJ-000285-Jr for submit@debbugs.gnu.org; Mon, 23 Dec 2024 13:04:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPmnG-00027m-4h for 74872-done@debbugs.gnu.org; Mon, 23 Dec 2024 13:04:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPmn9-0007Lf-Aa; Mon, 23 Dec 2024 13:04:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=SziWJq8tKNq+YI57QFlsGrh/z+NEPI4xwLQXdnAoxeQ=; b=W9k9ouefshqm5YoAOvlA K5+d95hjc++h1vfF/wPwoNGsZVf1nlS/NH/dT0qBeKOYOxpsEKDsqpih+5yKhU7CJ7VPW9dcnB9VF l8KHuUxgf0fAEeFiWsaAQhFpQod8fYHF7GogpxGy28tAcsq6llMNbXzR83ECVHcpnJsWujI4ELs/C ckGNm7DeqcpEALJ104UVdLyCDtr3dRit5m68dcEyHTn0MsHuLsGd+F7SdBX7s14GXQx8ovKUUcY3D O6e4y1EB6p3nol40HIgmAeyltjBkUPlR49idRcHr9lG3ktijP2VXzuZaB0Ps8P3BCiYeNp7FCPEj3 cLRYDvgYk+ds4Q==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <8f00e019e47cc41d4c85a524908d63aa@ngraves.fr> (ngraves@ngraves.fr's message of "Sat, 14 Dec 2024 17:49:51 +0100") References: <8f00e019e47cc41d4c85a524908d63aa@ngraves.fr> Date: Mon, 23 Dec 2024 19:03:50 +0100 Message-ID: <87zfkm6zuh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 15BF58188C X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.80 X-Spam-Score: -4.80 X-TUID: ijZsf7WEt+2V ngraves@ngraves.fr skribis: > For some reason, rename-file fails when the target and destination are > not in the same filesystem. However, we can't assume for the > update-symlink script that all users will always have > e.g. ~/.local/share/applications (managed by guix-home) and ~ on the > same filesystem. My use-case is trying to implement home > impermanence. The patch is attached. > > From fe07066b88556c3755db3fc29665ce93d23cc071 Mon Sep 17 00:00:00 2001 > From: Nicolas Graves > Date: Sat, 14 Dec 2024 12:38:14 +0100 > Subject: [PATCH] gnu: home: Replace rename in update-symlinks scripts. > > * gnu/home/services/symlink-manager.scm (update-symlinks): Use > copy-file and delete-file instead of rename-file to avoid an error > when the target and backup are not in the same filesystem. Applied, thanks!