guix-devel
[Top][All Lists]
Advanced

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

Re: pkg-config "Requires" fields and propagated inputs


From: Taylan Ulrich Bayırlı/Kammer
Subject: Re: pkg-config "Requires" fields and propagated inputs
Date: Wed, 25 Mar 2015 20:48:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> address@hidden (Taylan Ulrich "Bayırlı/Kammer") skribis:
>
>> It might be nice to have build-only propagated inputs.  On the other
>> hand, someone installing libxrandr in their profile will expect
>> pkg-config on libxrandr to work without errors.  More generally, they
>> will expect any build operation to work; i.e. a user might want to use
>> Guix-installed libraries for Guix-external development, and build-only
>> propagated inputs would mean annoying such users because they now have
>> to install them manually.  Unless we provide a special "install for
>> development" operation that is.  But the complexity grows. :-)
>
> Heh.  Another option would be to have per-output propagated inputs.
> That is, if a package has “out” and “lib” outputs, you’d want the
> propagated inputs to apply only to “lib” since this is where the .pc is.
> (This has been in ‘TODO’ for a couple of years.)
>
> Thoughts?

Sounds like an obvious feature to add, and in my (limited) experience
these library deps are the most common propagated inputs...

Taylan



reply via email to

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