From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: =?utf-8?Q?=E2=80=9CGuix?= Profiles in =?utf-8?Q?Practice?= =?utf-8?Q?=E2=80=9D?= Date: Sat, 26 Oct 2019 12:02:51 +0200 Message-ID: <87lft7lt84.fsf@ambrevar.xyz> References: <87r231rulr.fsf@gnu.org> <20191025204427.uvpamtvyn3td3yvg@thebird.nl> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: In-Reply-To: <20191025204427.uvpamtvyn3td3yvg@thebird.nl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pjotr Prins , "Thompson, David" Cc: guix-devel , help-guix List-Id: guix-devel.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Pjotr Prins writes: > On Fri, Oct 25, 2019 at 12:36:01PM -0400, Thompson, David wrote: >> On Fri, Oct 25, 2019 at 6:57 AM Ludovic Court=C3=A8s wrot= e: >> > >> > Hello Guix! >> > >> > Here=E2=80=99s a new blog post by Pierre Neidhardt entitled =E2=80=9CG= uix Profiles in >> > Practice=E2=80=9D: >> > >> > https://guix.gnu.org/blog/2019/guix-profiles-in-practice/ >> > >> > A great discussion on the benefits of manifests and on ways to manage >> > several profiles! >>=20 >> Great article! > > I agree. One useful thing not mentioned in there is, that before > loading a profile, it may be worthwhile to empty the shell with > > env -i /bin/bash --login --noprofile --norc > > . ~/opt/my-tools-profile/etc/profile > > so no existing shell variables may pollute your beautiful setup.=20 Nice tip, Pjotr! We can add it to the cookbook. Shall I add it to the blog article now that it's published? In https://lists.gnu.org/archive/html/guix-devel/2019-10/msg00565.html we discussed the possibility to remove a specific profile from the environment, which would be a more general version of what you propose. It currently has some shortcomings, but maybe we can fix them. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl20GcsACgkQm9z0l6S7 zH+J0Af9FIE28N5bXvggJ/zWZ5xlweqpH9CmI2Hbb7GLRUip5crzTGm0S0y6ihFS uudwW7jYTjRDrjmoEfwzOvZXPQ087jb3ghQllmkyDZbDxqaSWxrw8Ll2mjKvdObT onqbfGgC5Ws/WG2uVOKV894BbsrMz0dPTOCkSGYkCBw3qOhZYbXTITXGYw/w17A8 l9Lk2L6LeB8bBvoD8Xpruz0aY0sBBEc2SoDcHwTlAyDUcg9cZFuwg2c670goRxxG cWmzK/2QMsFlwoLeBxiIh9uvK5uyFG9shjAdzkH1GqnkT2xKpHIPo/Pb2DFj2Vic Y70Vs8QHYj+OIwH4jo8RvgRXNnUWWQ== =Af4D -----END PGP SIGNATURE----- --=-=-=--