From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Collect guix profiles in single directory. Date: Thu, 30 Jan 2020 20:28:46 +0100 Message-ID: <87wo98pwup.fsf@ambrevar.xyz> References: <87blrefavb.fsf@gnu.org> <34307ca779925da741af20fa57497c8e13eae7d6.camel@student.tugraz.at> <87tv56av8o.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41537) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixFUi-0004QJ-Cd for guix-devel@gnu.org; Thu, 30 Jan 2020 14:28:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixFUh-000361-9C for guix-devel@gnu.org; Thu, 30 Jan 2020 14:28:52 -0500 In-Reply-To: <87tv56av8o.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Leo Prikler , Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Proposal: =2D Modify /etc/profile in Guix System to load everything in GUIX_PROFILE_D= IR if set. If not set, fall back on ~/.guix-profile. =2D When GUIX_PROFILE_DIR is set, use GUIX_PROFILE_DIR/default as the fault. Otherwise fall back to ~/.guix-profile if GUIX_PROFILE_DIR is unset for backward compatibility. =2D Add a "-P,--profile-name NAME" command line option that automatically d= erives the profile path as $GUIX_PROFILE_DIR/$NAME. This would make it easy to deal with frequently-used profiles from command line, e.g. guix install -P my-gimpy-profile gimp In the end, all the user needs to do to start using multiple profiles in a convenient manner is to export GUIX_PROFILE_DIR. I believe the above is fully backward compatible. If there is no objection we can start working on a patch=C2=A0:) =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl4zLm4ACgkQm9z0l6S7 zH+8EAf+IDwDPjJoOpGU9I0kkAfv770GqvsRvylMVE9ueXw+LdrRdWDoQOIQ+tKL zQeasMk6hCHxM4B1dktcWevsjhOV6dqmwIc9i5/UxzcflN3AV1wgH2vxbF79fNVm RaLlbAvvmqJMx53pFPyVfSn4DEGy+ZQkALm6kvax0iAOAtzHaS8+++pU8wYlxARA 5Img0BfrTAQmazHMn8A1EYA2hIJ/0XX1gZn1NC6h6QKtJoB0LSLS4WS/QIKGYlb+ 1drXsmFdxhhj50vgTqQZDpd1/2FBCNZiuSDWqSfyFz4/AB4XGotFC7EfqZVMm7+9 weH92mI6wuTbW5rMJ2c/Re808MTqHA== =1c/O -----END PGP SIGNATURE----- --=-=-=--