guix-patches
[Top][All Lists]
Advanced

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

[bug#28866] [PATCH] gnu: emacs: Fix Man looks for C header files.


From: Oleg Pykhalov
Subject: [bug#28866] [PATCH] gnu: emacs: Fix Man looks for C header files.
Date: Mon, 16 Oct 2017 17:47:51 +0300

>From 73cd8d12b6b7b32d091a948689a732998e9b3f26 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <address@hidden>
Date: Mon, 16 Oct 2017 17:44:57 +0300
Subject: [PATCH] gnu: emacs: Fix Man looks for C header files.

* gnu/packages/emacs.scm (emacs): Make sure Man looks for C header files in
  the right places.
---
 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 315db18a5..c2e6563b4 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
+                           "\"/var/guix/profiles/system/profile/include\""
+                           "\"~/.guix-profile/include\"")
+                     " ")))))))
     (build-system glib-or-gtk-build-system)
     (arguments
      `(#:phases
-- 
2.14.2






reply via email to

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