gnu: r-brms: Fix vignettes.

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

Change-Id: Ife0fcc2352b8bf47356c1684687fdf26b0281f6f
This commit is contained in:
Ricardo Wurmus 2024-11-27 17:23:30 +01:00 committed by Andreas Enge
parent 988da04606
commit 50d88e2b55
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -37780,6 +37780,14 @@ (define-public r-brms
"1gl1pdna356mfrf9816rqx8q7a3h3xzkn75bjd2zylgqw49ss88p"))))
(properties `((upstream-name . "brms")))
(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-abind
r-backports