From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6AYZ-0000AF-Qc for guix-patches@gnu.org; Thu, 04 May 2017 02:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6AYU-0004zd-BV for guix-patches@gnu.org; Thu, 04 May 2017 02:48:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55284) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6AYU-0004zW-7o for guix-patches@gnu.org; Thu, 04 May 2017 02:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d6AYU-0003YM-1v for guix-patches@gnu.org; Thu, 04 May 2017 02:48:02 -0400 Subject: bug#26770: [PATCH] gnu: tailon: Add missing inputs. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6AXq-00007k-Pb for guix-patches@gnu.org; Thu, 04 May 2017 02:47:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6AXn-0004Yo-Mn for guix-patches@gnu.org; Thu, 04 May 2017 02:47:22 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:51173 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6AXn-0004Xk-HB for guix-patches@gnu.org; Thu, 04 May 2017 02:47:19 -0400 Received: from localhost (my83-216-89-217.cust.relish.net [83.216.89.217]) by mira.cbaines.net (Postfix) with ESMTPSA id 14DF013E3C9 for ; Thu, 4 May 2017 07:47:16 +0100 (BST) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 36187a98 for ; Thu, 4 May 2017 06:47:15 +0000 (UTC) From: Christopher Baines Date: Thu, 4 May 2017 07:47:15 +0100 Message-Id: <20170504064715.9779-1-mail@cbaines.net> 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: 26770@debbugs.gnu.org * gnu/packages/logging.scm (tailon)[inputs]: Add grep, gawk, sed and coreutils as inputs. [arguments]: Wrap bin/tailon to include some inputs in the PATH. --- gnu/packages/logging.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index 2523d65f6..060521eab 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -26,6 +26,8 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (gnu packages) + #:use-module (gnu packages base) + #:use-module (gnu packages gawk) #:use-module (gnu packages perl) #:use-module (gnu packages python) #:use-module (gnu packages autotools)) @@ -108,7 +110,25 @@ command line.") (inputs `(("python-pyyaml" ,python-pyyaml) ("python-sockjs-tornado" ,python-sockjs-tornado) - ("python-tornado" ,python-tornado))) + ("python-tornado" ,python-tornado) + ("grep" ,grep) + ("gawk" ,gawk) + ("sed" ,sed) + ("tail" ,coreutils))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'wrap-tailon-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/tailon") + `("PATH" ":" prefix ,(map + (lambda (input) + (string-append + (assoc-ref inputs input) + "/bin")) + '("grep" "gawk" "sed" "tail")))) + #t)))))) (home-page "https://tailon.readthedocs.io/") (synopsis "Webapp for looking at and searching through log files") -- 2.12.0