mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: itpp: Avoid embedding build dates.
* gnu/packages/maths.scm (itpp): Add 'set-man-page-date and 'set-force-source-date phases.
This commit is contained in:
parent
264ca9452f
commit
a04a987450
1 changed files with 12 additions and 1 deletions
|
@ -1724,7 +1724,18 @@ (define-public itpp
|
|||
(base32
|
||||
"14ddy2xnb6sgp4hiax9v5sv4pr4l4dd4ps76nfha3nrpr1ikhcqm"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments `(#:tests? #f)) ; Tests require googletest *sources*
|
||||
(arguments `(#:tests? #f ; Tests require googletest *sources*
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-man-page-date
|
||||
(lambda _
|
||||
(substitute* "itpp-config.1.cmake.in"
|
||||
((".PACKAGE_DATE.") "2012-04-18"))))
|
||||
(add-before 'build 'set-force-source-date
|
||||
;; for reproducible dates, texlive needs this to respect respect
|
||||
;; SOURCE_DATE_EPOCH
|
||||
(lambda _
|
||||
(setenv "FORCE_SOURCE_DATE" "1"))))))
|
||||
(inputs (list lapack fftw))
|
||||
;; FIXME: Even though the fonts are available dvips complains:
|
||||
;; "Font cmmi10 not found; characters will be left blank."
|
||||
|
|
Loading…
Reference in a new issue