me
/
guix
Archived
1
0
Fork 0

gnu: itpp: Remove non-deterministic log file.

* gnu/packages/maths.scm (itpp)[arguments]: Add 'delete-formulas-log phase.
master
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
1 changed files with 6 additions and 0 deletions

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"