GNU bug report logs - #28744
guile-colorized

Previous Next

Package: guix-patches;

Reported by: ng0 <ng0 <at> infotropique.org>

Date: Sun, 8 Oct 2017 10:38:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #10 received at 28744-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> infotropique.org>
Cc: 28744-done <at> debbugs.gnu.org
Subject: Re: [bug#28744] guile-colorized
Date: Sun, 08 Oct 2017 21:51:08 +0200
[Message part 1 (text/plain, inline)]
Hi!

ng0 <ng0 <at> infotropique.org> 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 <ng0 <at> infotropique.org>
> 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’.

[Message part 2 (text/x-patch, inline)]
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"

This bug report was last modified 7 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.