mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +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
2ec838c630
commit
066d769293
1 changed files with 5 additions and 1 deletions
|
@ -787,7 +787,11 @@ (define (phases-for-inputs input-names)
|
|||
(let ((rules
|
||||
(list (lambda ()
|
||||
(and (any (lambda (name)
|
||||
(member name '("styler" "ExperimentHub" "R.rsp")))
|
||||
(member name
|
||||
'("styler"
|
||||
"ExperimentHub"
|
||||
"R.cache"
|
||||
"R.rsp")))
|
||||
input-names)
|
||||
'(add-after 'unpack 'set-HOME
|
||||
(lambda _ (setenv "HOME" "/tmp")))))
|
||||
|
|
Loading…
Reference in a new issue