GNU bug report logs -
#38480
[PATCH] gnu: Add lolcat
Previous Next
Full log
Message #22 received at 38480-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi!
Leo Prikler <leo.prikler <at> student.tugraz.at> skribis:
> From 42827748e50fe20fdf23ff1137067a7d6c80c87e Mon Sep 17 00:00:00 2001
> From: Leo Prikler <leo.prikler <at> student.tugraz.at>
> 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’.
[Message part 2 (text/x-patch, 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
This bug report was last modified 5 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.