From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: R dependencies Date: Wed, 02 Sep 2015 15:09:12 +0200 Message-ID: <871teh9ddz.fsf_-_@gnu.org> References: <87613v43kv.fsf@gnu.org> <87a8t64ph1.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX7mz-0008RO-92 for guix-devel@gnu.org; Wed, 02 Sep 2015 09:09:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZX7mu-0006DU-V8 for guix-devel@gnu.org; Wed, 02 Sep 2015 09:09:21 -0400 In-Reply-To: <87a8t64ph1.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 01 Sep 2015 08:34:50 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel@gnu.org, Vicente Vera Ricardo Wurmus skribis: > An alternative is to inherit from the =E2=80=9Cr=E2=80=9D package in =E2= =80=9Cstatistics.scm=E2=80=9D. > > (define-module (my own packages) > #:use-module (guix packages) > #:use-module (gnu packages statistics) > #:use-module (srfi srfi-1)) >=20=20=20=20=20=20=20 > (define-public my-r > (package (inherit r) > (name "my-r") > ;; modify only the inputs here > (native-inputs (alist-delete "texlive" (package-native-inputs r))= )=20=20=20=20=20=20=20 > (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=C2=A0GiB), and maybe of TeX Live (4=C2=A0GiB)? Or= should we provide, say, =E2=80=98r-light=E2=80=99 with the definition above? I=E2=80=99m afraid having these two dependencies by default makes it prohibitively expensive. Ludo=E2=80=99.