guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: itpp: Remove non-deterministic log file.


From: guix-commits
Subject: branch master updated: gnu: itpp: Remove non-deterministic log file.
Date: Sun, 14 Aug 2022 18:17:35 -0400

This is an automated email from the git hooks/post-receive script.

vagrantc pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b30614b28c gnu: itpp: Remove non-deterministic log file.
b30614b28c is described below

commit b30614b28cdc4eb893eeea4523109769f913499e
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>
AuthorDate: Sun Aug 14 15:05:49 2022 -0700

    gnu: itpp: Remove non-deterministic log file.
    
    * gnu/packages/maths.scm (itpp)[arguments]: Add 'delete-formulas-log phase.
---
 gnu/packages/maths.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index c79058ab42..b82987e7a2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1824,6 +1824,12 @@ the resulting text.")
     (arguments `(#:tests? #f ; Tests require googletest *sources*
                  #:phases
                  (modify-phases %standard-phases
+                   (add-after 'install 'delete-formulas-log
+                     ;; Contains date and timing information which is 
unreproducible,
+                     ;; and should not be needed when using the package
+                     (lambda* (#:key outputs #:allow-other-keys)
+                       (let ((out (assoc-ref outputs "out")))
+                         (delete-file (string-append out 
"/share/doc/itpp/html/_formulas.log")))))
                    (add-after 'unpack 'set-man-page-date
                      (lambda _
                        (substitute* "itpp-config.1.cmake.in"



reply via email to

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