gnu: emacs-minimal: Adjust Guix paths in snippet.

* 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
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Hilton Chain 2025-03-15 21:07:13 +08:00 committed by Liliana Marie Prikler
parent a4a8e53a33
commit 6a9bb94fac
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -172,10 +172,13 @@
(substitute* "net/tramp.el" (substitute* "net/tramp.el"
;; Patch the line after "(defcustom tramp-remote-path". ;; Patch the line after "(defcustom tramp-remote-path".
(("\\(tramp-default-remote-path") (("\\(tramp-default-remote-path")
(format #f "(tramp-default-remote-path ~s ~s ~s ~s " (format
"~/.guix-profile/bin" "~/.guix-profile/sbin" #f "(tramp-default-remote-path ~s ~s ~s ~s ~s ~s ~s "
"/run/current-system/profile/bin" "/run/privileged/bin"
"/run/current-system/profile/sbin"))) "~/.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 ;; Make sure Man looks for C header files in the right
;; places. ;; places.
@ -184,7 +187,8 @@
(string-join (string-join
(list line (list line
"\"~/.guix-profile/include\"" "\"~/.guix-profile/include\""
"\"/var/guix/profiles/system/profile/include\"") "\"~/.guix-home/include\""
"\"/run/current-system/profile/include\"")
" "))))))) " ")))))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments