Hi! [email protected] (Ludovic Courtès) skribis:
> Andreas Enge <[email protected]> skribis: > >> Am Montag, 4. Februar 2013 schrieb Ludovic Courtès: >>> Andreas Enge <[email protected]> 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’.
