[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28744: guile-colorized
From: |
Ludovic Courtès |
Subject: |
bug#28744: guile-colorized |
Date: |
Sun, 08 Oct 2017 21:51:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hi!
ng0 <address@hidden> skribis:
> Colors for your REPL.
>
> In the light of recent github mismatches:
> should this use the git checkout instead?
I think it’s (still) fine this way.
> From d5160f7e3ca160dd6ee9336770fdf2d6dc7b279f Mon Sep 17 00:00:00 2001
> From: ng0 <address@hidden>
> Date: Sun, 8 Oct 2017 10:30:39 +0000
> Subject: [PATCH] gnu: Add guile-colorized.
>
> * gnu/packages/guile.scm (guile-colorized): New variable.
Pushed with the slight simplification below.
Thank you!
Ludo’.
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index caecd2b6b..e32ca84a7 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -1995,12 +1995,9 @@ It has a nice, simple s-expression based syntax.")
(guild (string-append (assoc-ref inputs "guile")
"/bin/guild")))
;; The original 'make install' is too primitive.
- (mkdir-p module-dir)
- (mkdir-p language-dir)
;; copy the source
- (copy-file "ice-9/colorized.scm"
- (string-append language-dir "/colorized.scm"))
+ (install-file "ice-9/colorized.scm" language-dir)
;; compile to the destination
(compile-file "ice-9/colorized.scm"