Ricardo Wurmus <rek...@elephly.net> skribis:

> An alternative is to inherit from the “r” package in “statistics.scm”.
>
>     (define-module (my own packages)
>       #:use-module (guix packages)
>       #:use-module (gnu packages statistics)
>       #:use-module (srfi srfi-1))
>       
>     (define-public my-r
>       (package (inherit r)
>         (name "my-r")
>         ;; modify only the inputs here
>         (native-inputs (alist-delete "texlive" (package-native-inputs r)))    
>    
>         (inputs (alist-delete "icedtea6" (package-inputs r)))))

Speaking of which: should we get rid of icedtea6:jdk in the default R
package (closure size: 1 GiB), and maybe of TeX Live (4 GiB)?  Or should
we provide, say, ‘r-light’ with the definition above?

I’m afraid having these two dependencies by default makes it
prohibitively expensive.

Ludo’.

Reply via email to