From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Optional runtime dependencies in Guix Date: Mon, 12 Jan 2015 17:03:31 +0100 Message-ID: <87r3v0t298.fsf@gnu.org> References: <87zjbh3arc.fsf@gnu.org> <87twzwuyn9.fsf@gnu.org> 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]:51803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAhSs-0002Nx-SX for guix-devel@gnu.org; Mon, 12 Jan 2015 11:03:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAhSo-0004ik-OQ for guix-devel@gnu.org; Mon, 12 Jan 2015 11:03:38 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:37154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAhSo-0004ia-GV for guix-devel@gnu.org; Mon, 12 Jan 2015 11:03:34 -0500 In-Reply-To: (Ricardo Wurmus's message of "Mon, 12 Jan 2015 12:23:51 +0100") 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 Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: > >> Gammel Holte skribis: >> >>> For example, consider samtools, a package I use daily and that was rece= ntly >>> committed to Guix: >>> >>> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/bioinformat= ics.scm#n139 >>> >>> It forces me to install python. In contrast, consider Arch AUR's packag= e: >>> >>> https://aur.archlinux.org/packages/samtools/ >> >> From looking at the page above, it seems that it would be feasible to >> simply move varfilter.py to a different output. That way, users would >> be able to install the default output (which doesn=E2=80=99t depend on P= ython), >> or the =E2=80=9Cpython=E2=80=9D output. Ricardo, WDYT? > > I could try to exclude this from the default output and install just the > Python files in a separate "python" output. Yes. > Is there a way to specify inputs that are required by certain outputs > only? Then I could make the new "python" output depend on the Python > package as an input. There=E2=80=99s no way to do that. So the build process would still depend= on Python. However, someone using substitutes who does not want the Python dependency would end up downloading just the Python-less output. Thanks, Ludo=E2=80=99.