gnu: r-bridgesampling: Fix vignettes.

* gnu/packages/cran.scm (r-bridgesampling)[arguments]: Add phase 'set-HOME.

Change-Id: Ibde578ee3530fc56b2ee61dc28450260295d283b
This commit is contained in:
Ricardo Wurmus 2024-11-26 15:10:45 +01:00
parent 79fe65171d
commit 5abd83bd62
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -36695,6 +36695,14 @@ (define-public r-bridgesampling
(properties
`((upstream-name . "bridgesampling")))
(build-system r-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
;; When there is no HOME directory, this package will fail to find
;; the vignette builder.
(add-after 'unpack 'set-HOME
(lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs
(list r-brobdingnag
r-coda