guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/08: gnu: emacs: Fix Man default C header file search path.


From: Ludovic Courtès
Subject: 08/08: gnu: emacs: Fix Man default C header file search path.
Date: Thu, 19 Oct 2017 06:20:39 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d1c11418e7004f2f91a6726dfa6f65bd9839333f
Author: Oleg Pykhalov <address@hidden>
Date:   Mon Oct 16 17:44:57 2017 +0300

    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 <address@hidden>
---
 gnu/packages/emacs.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 315db18..6d9ea41 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]