From unknown Sun Jun 22 00:27:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55081 <55081@debbugs.gnu.org> To: bug#55081 <55081@debbugs.gnu.org> Subject: Status: [PATCH v1] Allow Guix root-dir overrides when working via Tramp. Reply-To: bug#55081 <55081@debbugs.gnu.org> Date: Sun, 22 Jun 2025 07:27:59 +0000 retitle 55081 [PATCH v1] Allow Guix root-dir overrides when working via Tra= mp. reassign 55081 guix-patches submitter 55081 Brian Cully severity 55081 normal tag 55081 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 23 12:24:23 2022 Received: (at submit) by debbugs.gnu.org; 23 Apr 2022 16:24:24 +0000 Received: from localhost ([127.0.0.1]:57091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niIYZ-0003lK-LR for submit@debbugs.gnu.org; Sat, 23 Apr 2022 12:24:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:40506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niITr-0003dQ-MN for submit@debbugs.gnu.org; Sat, 23 Apr 2022 12:19:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niITr-0001yo-Ht for guix-patches@gnu.org; Sat, 23 Apr 2022 12:19:31 -0400 Received: from coleridge.kublai.com ([166.84.7.167]:63341 helo=mail.spork.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niITp-0001Qt-Of for guix-patches@gnu.org; Sat, 23 Apr 2022 12:19:31 -0400 Received: from ditto (unknown [IPv6:2001:470:1f07:1b9:8650:a942:ec5e:856b]) by mail.spork.org (Postfix) with ESMTPSA id 1E3BE49DB for ; Sat, 23 Apr 2022 12:18:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1650730725; bh=vP8cHiO1noIw/RzBnLxkDbF3nQqIWxX0kJD1ZAL2vIc=; h=From:To:Subject:Date; b=wvfMIY1mv6yVY1o/MkmE7xgzQfZErvdcJhjktpvYLwBZTeyaVDNoYs9/SgUUPAKMY cHruI2Mlz3tMclI4qB49+YgpCvxzojAbEngbtWHQX54+KjkOStgLMHJtsLyzto8hHQ AwPqEXZlt57YdL/aLHfk3ewroLVHQEnqWt6IsaQE= User-agent: mu4e 1.6.10; emacs 28.1 From: Brian Cully To: guix-patches@gnu.org Subject: [PATCH v1] Allow Guix root-dir overrides when working via Tramp. Date: Sat, 23 Apr 2022 12:17:52 -0400 Message-ID: <87fsm3kc2m.fsf@ditto.jhoto.spork.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=166.84.7.167; envelope-from=bjc@spork.org; helo=mail.spork.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 23 Apr 2022 12:24:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Add only the local part of the root directory to the guile search path. This lets you use Tramp to hack on a remote Guix checkout. --- .dir-locals.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index 09e19223d5..3b75989133 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -29,7 +29,7 @@ ;; Hence the following "when", which might otherwise be unnecessary; ;; it prevents causing an error when root-dir-unexpanded is nil. (when root-dir-unexpanded - (let* ((root-dir (expand-file-name root-dir-unexpanded)) + (let* ((root-dir (file-local-name (expand-file-name root-dir-unexpanded))) ;; Workaround for bug https://issues.guix.gnu.org/43818. (root-dir* (directory-file-name root-dir))) base-commit: 8540c2d86ca535ceb188c838cf1885de6f65c94f -- 2.35.1 From debbugs-submit-bounces@debbugs.gnu.org Sat May 21 15:11:55 2022 Received: (at 55081) by debbugs.gnu.org; 21 May 2022 19:11:55 +0000 Received: from localhost ([127.0.0.1]:42972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsUW3-0002hl-2d for submit@debbugs.gnu.org; Sat, 21 May 2022 15:11:55 -0400 Received: from coleridge.kublai.com ([166.84.7.167]:63597 helo=mail.spork.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsUVz-0002hb-2D for 55081@debbugs.gnu.org; Sat, 21 May 2022 15:11:53 -0400 Received: from guix.jhoto.kublai.com (unknown [IPv6:2001:470:1f07:1b9:c714:ed8b:7cf4:a700]) by mail.spork.org (Postfix) with ESMTPSA id 9831B707B; Sat, 21 May 2022 15:11:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1653160310; bh=HHqbBQM8meiNACwIj3SUYNyz/1W3Wa+DRKGTKW06lQo=; h=From:To:Cc:Subject:Date; b=U8GSe9l47UK7sY6UhdRUyJmi+Ehaa5zL/Y6WSlfh0HB0lt3XFJDnpUUasl1lsabOa tBf4tXglw/pV4EQvuKaIxyDs8GCzRtyxYDr7p42BqvKD9mtkCKkeN3PUYKTTDmYJxb 3wYMZ+XoFDeLBf3QinLGVxuc5dDlENQhB1cqKODU= From: Brian Cully To: 55081@debbugs.gnu.org Subject: [PATCH v2] Allow Guix root-dir overrides when working via Tramp. Date: Sat, 21 May 2022 15:10:24 -0400 Message-Id: <5eb3a6b7718bb1f3959afd27f051f744c9d677f6.1653160223.git.bjc@spork.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55081 Cc: Brian Cully X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Brian Cully Add only the local part of the root directory to the guile search path. This lets you use Tramp to hack on a remote Guix checkout. --- I think my last patch was mangled by GNUS, so I'm resending it. FWIW, I've been using this for months without issue. .dir-locals.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dir-locals.el b/.dir-locals.el index 09e19223d5..3b75989133 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -29,7 +29,7 @@ ;; Hence the following "when", which might otherwise be unnecessary; ;; it prevents causing an error when root-dir-unexpanded is nil. (when root-dir-unexpanded - (let* ((root-dir (expand-file-name root-dir-unexpanded)) + (let* ((root-dir (file-local-name (expand-file-name root-dir-unexpanded))) ;; Workaround for bug https://issues.guix.gnu.org/43818. (root-dir* (directory-file-name root-dir))) -- 2.36.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 05 14:06:30 2023 Received: (at submit) by debbugs.gnu.org; 5 Mar 2023 19:06:30 +0000 Received: from localhost ([127.0.0.1]:40660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYtgj-00013W-Nv for submit@debbugs.gnu.org; Sun, 05 Mar 2023 14:06:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:35060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYtgi-00013J-7r for submit@debbugs.gnu.org; Sun, 05 Mar 2023 14:06:28 -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 1pYtgi-0002aD-1N for guix-patches@gnu.org; Sun, 05 Mar 2023 14:06:28 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYtgg-0007Ef-F3 for guix-patches@gnu.org; Sun, 05 Mar 2023 14:06:27 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 44D483200063; Sun, 5 Mar 2023 14:06:23 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 05 Mar 2023 14:06:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=mesmtp; t=1678043182; x=1678129582; bh=vd7V/afhupzMc9t3Jj+hcv8Rf45b+ydz35WFg547p+E=; b= GWtFzExTslHLk5jdawMxwKLcTPhxQ+AlmZbye4ystCyXoB6Fu/yu/8UsRDgm8RfI dpAiBUXEdYKJyh7Y4l0P+etH7usix2hU5eBoRMfqwFAfWqpaaDAmOJJnQ3R8PiVN 0l6GpLzrl+HAxE640b2JQ/fUknSHknl2SgIT5yQ0as8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1678043182; x=1678129582; bh=vd7V/afhupzMc 9t3Jj+hcv8Rf45b+ydz35WFg547p+E=; b=V3g4Ai59F8Q7ub8NKKiC0fIeiQUCJ y0fhYnyVbhkEGwNrMkTFWxgRs2g1nZ7CSqtjk5+jvAY0bz6CgRaBOv/Y/WesInMS j/rlvsBYLztIZphgVKknPurmOY39LJxN0iod4iTnYIERAAzYP1eO0CDQGtO0CXWk 0CEpRwbpTvstwts/fZx9uTeAGSrO6rdhL4DD0l7KoCgT1MFqAfAEul1mOk4uzEOb 9x8XYJN1PX2YlLn6Au+bXMQ9JgU8q7k2uK+Gudd93n5kNX6PolWo+jW9//Oxi3Bo Ga51XZqrwn/t9NMAQ0OFm4CQZcoR0woNey4rGEc7+/lorM8Q7cnXygpBg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddtgedguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvgho ucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrg htthgvrhhnpeeiteduheefkeeufeelgeduhfejgfelheefleeuhfeffffgueduleehvdej leeiteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Mar 2023 14:06:22 -0500 (EST) Date: Sun, 5 Mar 2023 14:06:20 -0500 From: Leo Famulari To: Brian Cully via Guix-patches via Subject: Re: [bug#55081] [PATCH v2] Allow Guix root-dir overrides when working via Tramp. Message-ID: References: <87fsm3kc2m.fsf@ditto.jhoto.spork.org> <5eb3a6b7718bb1f3959afd27f051f744c9d677f6.1653160223.git.bjc@spork.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5eb3a6b7718bb1f3959afd27f051f744c9d677f6.1653160223.git.bjc@spork.org> Received-SPF: pass client-ip=64.147.123.25; envelope-from=leo@famulari.name; helo=wout2-smtp.messagingengine.com 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 55081-done@debbugs.gnu.org, Brian Cully X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On Sat, May 21, 2022 at 03:10:24PM -0400, Brian Cully via Guix-patches via wrote: > From: Brian Cully > > Add only the local part of the root directory to the guile search > path. This lets you use Tramp to hack on a remote Guix checkout. > --- > I think my last patch was mangled by GNUS, so I'm resending it. > > FWIW, I've been using this for months without issue. Okay, pushed as cedf97ed6ee4eba8c39bfe6cc0efe33fcb977ccf Thanks! From unknown Sun Jun 22 00:27:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 03 Apr 2023 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator