From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Required packages Date: Wed, 06 Feb 2013 23:09:02 +0100 Message-ID: <87bobxccxt.fsf@gnu.org> References: <201302041952.22425.andreas@enge.fr> <87lib3pwa6.fsf@gnu.org> <201302042328.11563.andreas@enge.fr> <87ehgur9h7.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 ([208.118.235.92]:43401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3DAw-0005t8-9R for bug-guix@gnu.org; Wed, 06 Feb 2013 17:09:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3DAv-0000aS-6Y for bug-guix@gnu.org; Wed, 06 Feb 2013 17:09:06 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:14467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3DAv-0000aL-0A for bug-guix@gnu.org; Wed, 06 Feb 2013 17:09:05 -0500 In-Reply-To: <87ehgur9h7.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 05 Feb 2013 17:50:12 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Hi! ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Andreas Enge skribis: > >> Am Montag, 4. Februar 2013 schrieb Ludovic Court=C3=A8s: >>> Andreas Enge 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=E2=80=99s this? >> >> When A "depends on" B in debian jargon, then installing A automatically= =20 >> also installs B. In our case, a user issuing "guix-package -i mpc" would= =20 >> end up with gmp, mpfr and mpc in the profile. > > OK. That=E2=80=99s =E2=80=9Cuser-environment-propagated-inputs=E2=80=9D.= We could achieve that > by just changing guix-profile to install propagated inputs. That=E2=80= =99s > 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=E2=80=99.