mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
import/cran: Set HOME when ExperimentHub is among the inputs.
* guix/import/cran.scm (phases-for-inputs): Add 'set-HOME phase when ExperimentHub is among inputs. Change-Id: Ie3a2443934704eed8694a76a651b806209722421
This commit is contained in:
parent
29353820f2
commit
389c6082a4
1 changed files with 3 additions and 1 deletions
|
@ -677,7 +677,9 @@ (define (phases-for-inputs input-names)
|
|||
of package names for all input packages."
|
||||
(let ((rules
|
||||
(list (lambda ()
|
||||
(and (member "styler" input-names)
|
||||
(and (any (lambda (name)
|
||||
(member name '("styler" "ExperimentHub")))
|
||||
input-names)
|
||||
'(add-after 'unpack 'set-HOME
|
||||
(lambda _ (setenv "HOME" "/tmp")))))
|
||||
(lambda ()
|
||||
|
|
Loading…
Reference in a new issue