3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: itpp: Remove non-deterministic log file.

* gnu/packages/maths.scm (itpp)[arguments]: Add 'delete-formulas-log phase.
This commit is contained in:
Vagrant Cascadian 2022-08-14 15:05:49 -07:00 committed by Vagrant Cascadian
parent 51f978f4ad
commit b30614b28c
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -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"