GNU bug report logs - #77034
[PATCH 0/2] gnu: emacs-minimal: Adjust Guix paths in snippet.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Sat, 15 Mar 2025 13:06:01 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

To reply to this bug, email your comments to 77034 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andrew <at> trop.in, csantosb <at> inventati.org, divya <at> subvertising.org, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#77034; Package guix-patches. (Sat, 15 Mar 2025 13:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hilton Chain <hako <at> ultrarare.space>:
New bug report received and forwarded. Copy sent to andrew <at> trop.in, csantosb <at> inventati.org, divya <at> subvertising.org, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org. (Sat, 15 Mar 2025 13:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: guix-patches <at> gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH 0/2] gnu: emacs-minimal: Adjust Guix paths in snippet.
Date: Sat, 15 Mar 2025 21:04:02 +0800
Hi Guix,

The first patch makes emacs-next packages to inherit snippet from
emacs-minimal, mainly for ‘tramp-remote-path’.

The second patch adjusts paths used in snippet (adds /run/privileged/bin and
Guix Home paths), this will trigger a world-rebuild of Emacs packages.

Thanks


Hilton Chain (2):
  gnu: emacs-next-minimal: Inherit snippet from emacs-minimal.
  gnu: emacs-minimal: Adjust Guix paths in snippet.

 gnu/packages/emacs.scm | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)


base-commit: 3cc51c3e7447ab4f590d530fa66f65b6152ab109
--
2.48.1




Information forwarded to andrew <at> trop.in, csantosb <at> inventati.org, divya <at> subvertising.org, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#77034; Package guix-patches. (Sat, 15 Mar 2025 13:08:03 GMT) Full text and rfc822 format available.

Message #8 received at 77034 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: 77034 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH 1/2] gnu: emacs-next-minimal: Inherit snippet from
 emacs-minimal.
Date: Sat, 15 Mar 2025 21:07:12 +0800
* gnu/packages/emacs.scm (emacs-next-minimal)[source]: Inherit emacs-minimal
source.

Change-Id: I9ace8c496106a17b5aa21356f5b92f5817979bda
---
 gnu/packages/emacs.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index c5e671c6a9..32733f7b35 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -581,6 +581,7 @@ (define-public emacs-next-minimal
     (version (git-version "30.0.92" revision commit))
     (source
      (origin
+       (inherit (package-source emacs-minimal))
        (method git-fetch)
        (uri (git-reference
              (url "https://git.savannah.gnu.org/git/emacs.git")
-- 
2.48.1





Information forwarded to andrew <at> trop.in, csantosb <at> inventati.org, divya <at> subvertising.org, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#77034; Package guix-patches. (Sat, 15 Mar 2025 13:08:04 GMT) Full text and rfc822 format available.

Message #11 received at 77034 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: 77034 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [PATCH 2/2] gnu: emacs-minimal: Adjust Guix paths in snippet.
Date: Sat, 15 Mar 2025 21:07:13 +0800
* gnu/packages/emacs.scm (emacs-minimal)[source]: Add "/run/privileged/bin"
and Guix Home paths to ‘tramp-remote-path’.
Add Guix Home path to ‘Man-header-file-path’.

Change-Id: I20536ae93c74e06eafa5fd26a1b421680c177102
---
 gnu/packages/emacs.scm | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 32733f7b35..eb863110c0 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -135,10 +135,13 @@ (define-public emacs-minimal
                   (substitute* "net/tramp.el"
                     ;; Patch the line after "(defcustom tramp-remote-path".
                     (("\\(tramp-default-remote-path")
-                     (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
-                             "~/.guix-profile/bin" "~/.guix-profile/sbin"
-                             "/run/current-system/profile/bin"
-                             "/run/current-system/profile/sbin")))
+                     (format
+                      #f "(tramp-default-remote-path ~s ~s ~s ~s ~s ~s ~s "
+                      "/run/privileged/bin"
+                      "~/.guix-profile/bin" "~/.guix-profile/sbin"
+                      "~/.guix-home/bin" "~/.guix-home/sbin"
+                      "/run/current-system/profile/bin"
+                      "/run/current-system/profile/sbin")))
 
                   ;; Make sure Man looks for C header files in the right
                   ;; places.
@@ -147,7 +150,8 @@ (define-public emacs-minimal
                      (string-join
                       (list line
                             "\"~/.guix-profile/include\""
-                            "\"/var/guix/profiles/system/profile/include\"")
+                            "\"~/.guix-home/include\""
+                            "\"/run/current-system/profile/include\"")
                       " ")))))))
     (build-system gnu-build-system)
     (arguments
-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#77034; Package guix-patches. (Sat, 15 Mar 2025 19:32:02 GMT) Full text and rfc822 format available.

Message #14 received at 77034 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Hilton Chain <hako <at> ultrarare.space>, 77034 <at> debbugs.gnu.org
Cc: Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 Ian Eure <ian <at> retrospec.tv>, Cayetano Santos <csantosb <at> inventati.org>,
 Divya Ranjan Pattanaik <divya <at> subvertising.org>,
 Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#77034] [PATCH 0/2] gnu: emacs-minimal: Adjust Guix paths
 in snippet.
Date: Sat, 15 Mar 2025 20:32:09 +0100
Am Samstag, dem 15.03.2025 um 21:04 +0800 schrieb Hilton Chain:
> Hi Guix,
> 
> The first patch makes emacs-next packages to inherit snippet from
> emacs-minimal, mainly for ‘tramp-remote-path’.
> 
> The second patch adjusts paths used in snippet (adds
> /run/privileged/bin and Guix Home paths), this will trigger a world-
> rebuild of Emacs
> packages.
> 
> Thanks
> 
> 
> Hilton Chain (2):
>   gnu: emacs-next-minimal: Inherit snippet from emacs-minimal.
>   gnu: emacs-minimal: Adjust Guix paths in snippet.
Remember to tag this as [emacs-team].

It LGTM so far, but I'm leaving it up for now in case someone else has
comments to add.

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#77034; Package guix-patches. (Sun, 01 Jun 2025 05:39:06 GMT) Full text and rfc822 format available.

Message #17 received at 77034 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 77034 <at> debbugs.gnu.org
Cc: Andrew Tropin <andrew <at> trop.in>,
 Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 Cayetano Santos <csantosb <at> inventati.org>,
 Divya Ranjan Pattanaik <divya <at> subvertising.org>, Ian Eure <ian <at> retrospec.tv>
Subject: Re: [bug#77034] [PATCH 0/2] gnu: emacs-minimal: Adjust Guix paths
 in snippet.
Date: Sun, 01 Jun 2025 13:16:32 +0800
Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:

> Am Samstag, dem 15.03.2025 um 21:04 +0800 schrieb Hilton Chain:
>> Hi Guix,
>> 
>> The first patch makes emacs-next packages to inherit snippet from
>> emacs-minimal, mainly for ‘tramp-remote-path’.
>> 
>> The second patch adjusts paths used in snippet (adds
>> /run/privileged/bin and Guix Home paths), this will trigger a world-
>> rebuild of Emacs
>> packages.
>> 
>> Thanks
>> 
>> 
>> Hilton Chain (2):
>>   gnu: emacs-next-minimal: Inherit snippet from emacs-minimal.
>>   gnu: emacs-minimal: Adjust Guix paths in snippet.
> Remember to tag this as [emacs-team].
>
> It LGTM so far, but I'm leaving it up for now in case someone else has
> comments to add.

Can this series be applied to emacs-team now?




Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sun, 01 Jun 2025 06:43:02 GMT) Full text and rfc822 format available.

Notification sent to Hilton Chain <hako <at> ultrarare.space>:
bug acknowledged by developer. (Sun, 01 Jun 2025 06:43:02 GMT) Full text and rfc822 format available.

Message #22 received at 77034-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Hilton Chain <hako <at> ultrarare.space>, 77034-done <at> debbugs.gnu.org
Cc: Andrew Tropin <andrew <at> trop.in>,
 Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 Cayetano Santos <csantosb <at> inventati.org>,
 Divya Ranjan Pattanaik <divya <at> subvertising.org>, Ian Eure <ian <at> retrospec.tv>
Subject: Re: [bug#77034] [PATCH 0/2] gnu: emacs-minimal: Adjust Guix paths
 in snippet.
Date: Sun, 01 Jun 2025 08:41:53 +0200
Am Sonntag, dem 01.06.2025 um 13:16 +0800 schrieb Hilton Chain:
> Liliana Marie Prikler <liliana.prikler <at> gmail.com> writes:
> 
> > Am Samstag, dem 15.03.2025 um 21:04 +0800 schrieb Hilton Chain:
> > >   […]
> > >   gnu: emacs-next-minimal: Inherit snippet from emacs-minimal.
> > >   gnu: emacs-minimal: Adjust Guix paths in snippet.
> > Remember to tag this as [emacs-team].
> > 
> > It LGTM so far, but I'm leaving it up for now in case someone else
> > has comments to add.
> 
> Can this series be applied to emacs-team now?
Consider it done :)




This bug report was last modified 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.