From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e46hg-0001fE-PB for guix-patches@gnu.org; Mon, 16 Oct 2017 10:49:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e46hU-00037N-5D for guix-patches@gnu.org; Mon, 16 Oct 2017 10:49:16 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35267) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e46hT-000373-Ro for guix-patches@gnu.org; Mon, 16 Oct 2017 10:49:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e46hT-00012B-E1 for guix-patches@gnu.org; Mon, 16 Oct 2017 10:49:03 -0400 Subject: [bug#28866] [PATCH] gnu: emacs: Fix Man looks for C header files. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e46gn-0000zd-La for guix-patches@gnu.org; Mon, 16 Oct 2017 10:48:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e46gU-0001eq-B5 for guix-patches@gnu.org; Mon, 16 Oct 2017 10:48:21 -0400 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:46681) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e46gT-0001by-Uq for guix-patches@gnu.org; Mon, 16 Oct 2017 10:48:02 -0400 Received: by mail-lf0-x22b.google.com with SMTP id g70so17301087lfl.3 for ; Mon, 16 Oct 2017 07:48:00 -0700 (PDT) Received: from magnolia (95-55-115-104.dynamic.avangarddsl.ru. [95.55.115.104]) by smtp.gmail.com with ESMTPSA id 17sm1966946ljr.68.2017.10.16.07.47.57 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Oct 2017 07:47:58 -0700 (PDT) From: Oleg Pykhalov Date: Mon, 16 Oct 2017 17:47:51 +0300 Message-ID: <8760bfb148.fsf@gmail.com> MIME-Version: 1.0 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. 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: 28866@debbugs.gnu.org >From 73cd8d12b6b7b32d091a948689a732998e9b3f26 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..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