all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#28866] [PATCH] gnu: emacs: Fix Man looks for C header files.
@ 2017-10-16 14:47 Oleg Pykhalov
  2017-10-16 15:02 ` Oleg Pykhalov
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pykhalov @ 2017-10-16 14:47 UTC (permalink / raw)
  To: 28866

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH] gnu: emacs: Fix Man looks for C header files. --]
[-- Type: text/x-patch, Size: 1451 bytes --]

From 73cd8d12b6b7b32d091a948689a732998e9b3f26 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-19 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-16 14:47 [bug#28866] [PATCH] gnu: emacs: Fix Man looks for C header files Oleg Pykhalov
2017-10-16 15:02 ` Oleg Pykhalov
2017-10-19 10:17   ` bug#28866: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.