diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-01-16 21:47:36 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-01-16 23:14:05 +0100 |
commit | cfd1ed84013df85f0e473884ef4038b4bd7120d4 (patch) | |
tree | 634c51fde51550743616b20e3a16b10b28e484a0 /guix/import/cran.scm | |
parent | 72c678af55390ce01bec590f760ab95af67663b2 (diff) | |
download | gnu-guix-cfd1ed84013df85f0e473884ef4038b4bd7120d4.tar gnu-guix-cfd1ed84013df85f0e473884ef4038b4bd7120d4.tar.gz |
import: cran: Avoid uses of '@@' in the tests.
* guix/import/cran.scm (description->alist, description->package): Export.
<top level>: Set! 'listify'.
* tests/cran.scm (description-alist, "description->package"): Remove use
of '@@' to access the relevant bindings.
Diffstat (limited to 'guix/import/cran.scm')
-rw-r--r-- | guix/import/cran.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/guix/import/cran.scm b/guix/import/cran.scm index 13771ec598..bcb37ed250 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -54,7 +54,10 @@ cran-package? bioconductor-package? bioconductor-data-package? - bioconductor-experiment-package?)) + bioconductor-experiment-package? + + description->alist + description->package)) ;;; Commentary: ;;; @@ -270,6 +273,10 @@ empty list when the FIELD cannot be found." (string-any char-set:whitespace item))) (map string-trim-both items)))))) +;; Trick Guile 3 so that it keeps the 'listify' binding accessible *and* +;; private even though this module is declarative. +(set! listify listify) + (define default-r-packages (list "base" "compiler" |