gnu: emacs: Fix Man default C header file search path.
* gnu/packages/emacs.scm (emacs): Make sure Man looks for C header files in the right places. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b79813a19a
commit
d1c11418e7
@ -135,7 +135,17 @@
|
|||||||
(format #f "(tramp-default-remote-path ~s ~s ~s ~s "
|
(format #f "(tramp-default-remote-path ~s ~s ~s ~s "
|
||||||
"~/.guix-profile/bin" "~/.guix-profile/sbin"
|
"~/.guix-profile/bin" "~/.guix-profile/sbin"
|
||||||
"/run/current-system/profile/bin"
|
"/run/current-system/profile/bin"
|
||||||
"/run/current-system/profile/sbin")))))))
|
"/run/current-system/profile/sbin")))
|
||||||
|
|
||||||
|
;; Make sure Man looks for C header files in the right
|
||||||
|
;; places.
|
||||||
|
(substitute* "man.el"
|
||||||
|
(("\"/usr/local/include\"" line)
|
||||||
|
(string-join
|
||||||
|
(list line
|
||||||
|
"\"~/.guix-profile/include\""
|
||||||
|
"\"/var/guix/profiles/system/profile/include\"")
|
||||||
|
" ")))))))
|
||||||
(build-system glib-or-gtk-build-system)
|
(build-system glib-or-gtk-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
Loading…
Reference in New Issue
Block a user