mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: r-rgraphviz: Build reproducibly.
Fixes <https://bugs.gnu.org/43398>. * gnu/packages/graph.scm (r-rgraphviz)[arguments]: Add phase "make-reproducible".
This commit is contained in:
parent
d60739dff2
commit
62881beb4d
1 changed files with 10 additions and 0 deletions
|
@ -134,6 +134,16 @@ (define-public r-rgraphviz
|
|||
"1calpvzgcz6v7s4x6bf35kj83sga95zjp7x87p5d3qnbv7q2wz5y"))))
|
||||
(properties `((upstream-name . "Rgraphviz")))
|
||||
(build-system r-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'make-reproducible
|
||||
(lambda _
|
||||
;; The replacement value is taken from src/graphviz/builddate.h
|
||||
(substitute* "src/graphviz/configure"
|
||||
(("VERSION_DATE=.*")
|
||||
"VERSION_DATE=20200427.2341\n"))
|
||||
#t)))))
|
||||
;; FIXME: Rgraphviz bundles the sources of an older variant of
|
||||
;; graphviz. It does not build with the latest version of graphviz, so
|
||||
;; we do not add graphviz to the inputs.
|
||||
|
|
Loading…
Reference in a new issue