guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optional runtime dependencies in Guix


From: Ludovic Courtès
Subject: Re: Optional runtime dependencies in Guix
Date: Mon, 12 Jan 2015 17:03:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Ricardo Wurmus <address@hidden> skribis:

> Ludovic Courtès writes:
>
>> Gammel Holte <address@hidden> skribis:
>>
>>> For example, consider samtools, a package I use daily and that was recently
>>> committed to Guix:
>>>
>>> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/bioinformatics.scm#n139
>>>
>>> It forces me to install python. In contrast, consider Arch AUR's package:
>>>
>>> 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’t depend on Python),
>> or the “python” 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’s 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]