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>
master
Oleg Pykhalov 2017-10-16 17:44:57 +03:00 committed by Ludovic Courtès
parent b79813a19a
commit d1c11418e7
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 11 additions and 1 deletions

View File

@ -135,7 +135,17 @@
(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")))))))
"/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)
(arguments
`(#:phases