mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
import/cran: Also add set-HOME phase when R.cache exists.
* guix/import/cran.scm (phases-for-inputs): Add "R.cache" to the list. Change-Id: Ia65beb7cd535de10b024d108a97db0169045fe1f
This commit is contained in:
parent
46badc09bd
commit
1261bf83b8
1 changed files with 5 additions and 1 deletions
|
@ -787,7 +787,11 @@ (define (phases-for-inputs input-names)
|
||||||
(let ((rules
|
(let ((rules
|
||||||
(list (lambda ()
|
(list (lambda ()
|
||||||
(and (any (lambda (name)
|
(and (any (lambda (name)
|
||||||
(member name '("styler" "ExperimentHub" "R.rsp")))
|
(member name
|
||||||
|
'("styler"
|
||||||
|
"ExperimentHub"
|
||||||
|
"R.cache"
|
||||||
|
"R.rsp")))
|
||||||
input-names)
|
input-names)
|
||||||
'(add-after 'unpack 'set-HOME
|
'(add-after 'unpack 'set-HOME
|
||||||
(lambda _ (setenv "HOME" "/tmp")))))
|
(lambda _ (setenv "HOME" "/tmp")))))
|
||||||
|
|
Loading…
Reference in a new issue