From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Optional runtime dependencies in Guix Date: Mon, 12 Jan 2015 12:23:51 +0100 Message-ID: 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]:40734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAd6K-00027k-GS for guix-devel@gnu.org; Mon, 12 Jan 2015 06:24:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAd6H-00027a-7d for guix-devel@gnu.org; Mon, 12 Jan 2015 06:24:04 -0500 In-Reply-To: <87twzwuyn9.fsf@gnu.org> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > Gammel Holte skribis: > >> For example, consider samtools, a package I use daily and that was rec= ently >> committed to Guix: >> >> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/bioinforma= tics.scm#n139 >> >> It forces me to install python. In contrast, consider Arch AUR's packa= ge: >> >> 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 = Python), > 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. 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.