From d1c11418e7004f2f91a6726dfa6f65bd9839333f Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Mon, 16 Oct 2017 17:44:57 +0300 Subject: gnu: emacs: Fix Man default C header file search path. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emacs.scm (emacs): Make sure Man looks for C header files in the right places. Signed-off-by: Ludovic Courtès --- gnu/packages/emacs.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 315db18a57..6d9ea41935 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -135,7 +135,17 @@ (define-public emacs (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 -- cgit v1.2.3