From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6vh7-0000o3-Sh for guix-patches@gnu.org; Sat, 06 May 2017 05:08:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6vh4-0007FG-NO for guix-patches@gnu.org; Sat, 06 May 2017 05:08:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6vh4-0007Eu-KA for guix-patches@gnu.org; Sat, 06 May 2017 05:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d6vh4-0007xf-Ey for guix-patches@gnu.org; Sat, 06 May 2017 05:08:02 -0400 Subject: bug#26795: [PATCH] gnu: emacs-ag: Propagate the-silver-searcher. References: <87pofm5pbd.fsf@lassieur.org> In-Reply-To: <87pofm5pbd.fsf@lassieur.org> Resent-Message-ID: From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Date: Sat, 6 May 2017 11:07:28 +0200 Message-Id: <20170506090728.20760-1-clement@lassieur.org> 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: 26795@debbugs.gnu.org This allows emacs-ag to be used on remote systems. * gnu/packages/emacs.scm (emacs-ag)[inputs]: Remove. Move THE-SILVER-SEARCHER to... [propagated-inputs]: ... here. [arguments]: Remove 'patch-exec-paths' phase. --- gnu/packages/emacs.scm | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 74f0ff8b5..3ba5fe102 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1125,13 +1125,6 @@ than @code{electric-indent-mode}.") (arguments `(#:phases (modify-phases %standard-phases - (add-before 'install 'patch-exec-paths - (lambda* (#:key inputs #:allow-other-keys) - (emacs-substitute-variables "ag.el" - ("ag-executable" - (string-append (assoc-ref inputs "the-silver-searcher") - "/bin/ag"))) - #t)) (add-before 'install 'make-info (lambda _ (with-directory-excursion "docs" @@ -1142,14 +1135,13 @@ than @code{electric-indent-mode}.") (info (string-append out "/share/info"))) (install-file "docs/_build/texinfo/agel.info" info) #t)))))) - (inputs - `(("the-silver-searcher" ,the-silver-searcher))) (native-inputs `(("python-sphinx" ,python-sphinx) ("texinfo" ,texinfo))) (propagated-inputs `(("dash" ,emacs-dash) - ("s" ,emacs-s))) + ("s" ,emacs-s) + ("the-silver-searcher" ,the-silver-searcher))) (home-page "https://github.com/Wilfred/ag.el") (synopsis "Front-end for ag (the-silver-searcher) for Emacs") (description "This package provides the ability to use the silver -- 2.12.2