bug-guix
[Top][All Lists]
Advanced

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

Re: Required packages


From: Ludovic Courtès
Subject: Re: Required packages
Date: Wed, 06 Feb 2013 23:09:02 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi!

address@hidden (Ludovic Courtès) skribis:

> Andreas Enge <address@hidden> skribis:
>
>> Am Montag, 4. Februar 2013 schrieb Ludovic Courtès:
>>> Andreas Enge <address@hidden> skribis:
>>> > A question related to my previous posting, but also of independent
>>> > justification: Should we maybe implement somthing similar to the
>>> > "depends" field of Debian packages?
>>> What’s this?
>>
>> When A "depends on" B in debian jargon, then installing A automatically 
>> also installs B. In our case, a user issuing "guix-package -i mpc" would 
>> end up with gmp, mpfr and mpc in the profile.
>
> OK.  That’s “user-environment-propagated-inputs”.  We could achieve that
> by just changing guix-profile to install propagated inputs.  That’s
> probably the right thing to do anyway.

Commit 4dede02 implements that.

So now, when one installs MPC, MPFR and GMP automatically end up in the
profile as well.  When removing MPC, all three vanish.

Of course, if you had installed MPC and MPFR (say), and then remove MPC,
MPFR and GMP remain in the profile.  (IOW, it does the right thing.)

This required a slight change in the format of profile manifests, so
that the list of propagated inputs of each installed package is also
memorized.

Please test and report any issues!

Thanks,
Ludo’.



reply via email to

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