diff options
author | Hilton Chain <hako@ultrarare.space> | 2025-03-15 21:07:13 +0800 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2025-06-15 16:57:36 +0200 |
commit | 6a9bb94facbb38199d06ce3ad08c390408f96286 (patch) | |
tree | b59c4f92a88b40b3d3c7923f728b6b957ac82b5d | |
parent | a4a8e53a3300434e651f0024c0fd0f37d457eb61 (diff) |
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>
-rw-r--r-- | gnu/packages/emacs.scm | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index fe59d13bb4..1ece1337bb 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -172,10 +172,13 @@ (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. @@ -184,7 +187,8 @@ (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 |