From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59718) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igazj-0002ec-Pp for guix-patches@gnu.org; Sun, 15 Dec 2019 16:00:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igazi-0004R4-Jv for guix-patches@gnu.org; Sun, 15 Dec 2019 16:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igazi-0004QQ-Fp for guix-patches@gnu.org; Sun, 15 Dec 2019 16:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1igazi-0006pn-FN for guix-patches@gnu.org; Sun, 15 Dec 2019 16:00:02 -0500 Subject: bug#38480: [PATCH] gnu: Add lolcat Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20191204014644.1491-1-leo.prikler@student.tugraz.at> <877e3ciylo.fsf@posteo.net> <87k16ywkpp.fsf@gnu.org> Date: Sun, 15 Dec 2019 21:59:34 +0100 In-Reply-To: (Leo Prikler's message of "Sun, 15 Dec 2019 01:10:30 +0100") Message-ID: <87tv61tidl.fsf@gnu.org> 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: Leo Prikler Cc: 38480-done@debbugs.gnu.org, Brett Gilio --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Leo Prikler skribis: > From 42827748e50fe20fdf23ff1137067a7d6c80c87e Mon Sep 17 00:00:00 2001 > From: Leo Prikler > Date: Wed, 4 Dec 2019 02:46:44 +0100 > Subject: [PATCH] gnu: Add lolcat > > * gnu/packages/games.scm (lolcat): New package. I made the changes below to make it work with a single output. Committed, thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 1f08dd240a..c8d671bbdc 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -528,11 +528,12 @@ tired of cows, a variety of other ASCII-art messengers are available.") (delete 'configure) (replace 'install (lambda* (#:key outputs #:allow-other-keys) - (let ((dest (string-append path "/bin"))) + (let* ((out (assoc-ref outputs "out")) + (dest (string-append out "/bin"))) (mkdir-p dest) (install-file "lolcat" dest) + (install-file "censor" dest) #t)))))) - (outputs (list "out" "censor")) (home-page "https://github.com/jaseg/lolcat") (synopsis "Rainbow coloring effect for text console display") (description "@command{lolcat} concatenates files and streams like --=-=-=--