From c26ba570cce88a9c2529df722042648e34181e42 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 1 Jan 2017 12:56:10 +0100 Subject: [PATCH] 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 51f4faa3df..e226443626 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.