From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e46v7-0006Wo-Gq for guix-patches@gnu.org; Mon, 16 Oct 2017 11:03:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e46v1-0003Yd-IY for guix-patches@gnu.org; Mon, 16 Oct 2017 11:03:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35285) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e46v1-0003Y7-Eh for guix-patches@gnu.org; Mon, 16 Oct 2017 11:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e46uz-0001Ng-W2 for guix-patches@gnu.org; Mon, 16 Oct 2017 11:03:03 -0400 Subject: [bug#28866] [PATCH] gnu: emacs: Fix Man looks for C header files. References: <8760bfb148.fsf@gmail.com> In-Reply-To: <8760bfb148.fsf@gmail.com> Resent-Message-ID: From: Oleg Pykhalov Date: Mon, 16 Oct 2017 18:02:01 +0300 Message-ID: <871sm3b0gm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: bug#28866 <28866@debbugs.gnu.org> --=-=-= Content-Type: text/plain This is probably better, because I assume it will search in order. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-emacs-Fix-Man-looks-for-C-header-files.patch Content-Description: [PATCH] gnu: emacs: Fix Man looks for C header files. >From 83eff5350269f50d89407169eb165e891e65cf11 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov 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 --=-=-=--