diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-12-01 09:04:46 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-12-03 17:00:01 +0100 |
commit | 1261bf83b85187781b5dc062a04b7dcf3b3caf1c (patch) | |
tree | 39d9606ad1ba838883a02a893b0dd0567887b83f | |
parent | 46badc09bd09e53b7634434c6d46585870212a90 (diff) | |
download | guix-1261bf83b85187781b5dc062a04b7dcf3b3caf1c.tar.gz guix-1261bf83b85187781b5dc062a04b7dcf3b3caf1c.zip |
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
-rw-r--r-- | guix/import/cran.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/import/cran.scm b/guix/import/cran.scm index 8df867b6d0..01fb8552f9 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -787,7 +787,11 @@ of package names for all input packages." (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"))))) |