From: Oleg Pykhalov <go.wigust@gmail.com>
To: bug#28866 <28866@debbugs.gnu.org>
Subject: [bug#28866] [PATCH] gnu: emacs: Fix Man looks for C header files.
Date: Mon, 16 Oct 2017 18:02:01 +0300 [thread overview]
Message-ID: <871sm3b0gm.fsf@gmail.com> (raw)
In-Reply-To: <8760bfb148.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 68 bytes --]
This is probably better, because I assume it will search in order.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] gnu: emacs: Fix Man looks for C header files. --]
[-- Type: text/x-patch, Size: 1452 bytes --]
From 83eff5350269f50d89407169eb165e891e65cf11 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..6d9ea4193 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
--
2.14.2
next prev parent reply other threads:[~2017-10-16 15:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-10-19 10:17 ` bug#28866: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871sm3b0gm.fsf@gmail.com \
--to=go.wigust@gmail.com \
--cc=28866@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.