guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/12: gnu: clisp: Remove timestamps.


From: Ricardo Wurmus
Subject: 02/12: gnu: clisp: Remove timestamps.
Date: Sun, 1 Jan 2017 12:56:49 +0000 (UTC)

rekado pushed a commit to branch master
in repository guix.

commit c26ba570cce88a9c2529df722042648e34181e42
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Jan 1 12:56:10 2017 +0100

    gnu: clisp: Remove timestamps.
    
    * gnu/packages/lisp.scm (clisp)[arguments]: Add "remove-timestamps"
    phase to remove "__DATE__" and "__TIME__".
---
 gnu/packages/lisp.scm |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 51f4faa..e226443 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -221,6 +221,11 @@ supporting ASDF, Sockets, Gray streams, MOP, and other 
useful components.")
              (substitute* '("src/clisp-link.in")
                (("/bin/pwd") "pwd"))
              #t))
+         (add-after 'unpack 'remove-timestamps
+           (lambda _
+             (substitute* "src/constobj.d"
+               (("__DATE__ __TIME__") "\"1\""))
+             #t))
          (add-before 'build 'chdir-to-source
            (lambda _
              ;; We are supposed to call make under the src sub-directory.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]