From b30614b28cdc4eb893eeea4523109769f913499e Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 14 Aug 2022 15:05:49 -0700 Subject: 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(+) (limited to 'gnu/packages/maths.scm') 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" -- cgit v1.2.3