GNU bug report logs -
#77034
[PATCH 0/2] gnu: emacs-minimal: Adjust Guix paths in snippet.
Previous Next
To reply to this bug, email your comments to 77034 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
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):
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):
* 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):
* 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):
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
This bug report was last modified 24 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.