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: Sun, 27 Oct 2019 22:08:01 +0100 Message-ID: <87sgnd6gni.fsf@ambrevar.xyz> References: <87r231rulr.fsf@gnu.org> <878sp66mas.fsf@ambrevar.xyz> <8cad953f-09a1-97b9-7c61-62161bd1e0a3@crazy-compilers.com> 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]:56449) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOple-0001Oo-1Z for help-guix@gnu.org; Sun, 27 Oct 2019 17:08:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOplc-0004YV-Rj for help-guix@gnu.org; Sun, 27 Oct 2019 17:08:05 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:55813) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iOplc-0004Y7-LZ for help-guix@gnu.org; Sun, 27 Oct 2019 17:08:04 -0400 In-Reply-To: <8cad953f-09a1-97b9-7c61-62161bd1e0a3@crazy-compilers.com> List-Id: 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: Hartmut Goebel , help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hartmut Goebel writes: > Am 27.10.19 um 20:06 schrieb Pierre Neidhardt: >> I think it's useful to support multiple directories since it's likely >> that users will work on multiple projects. >> >> See what I've done for Emacs-Guix. The (configurable) file structure >> looks like this: >> >> - ~/.guix-extra-profiles/my-project >> - ~/.guix-extra-manifests/my-project >> - ~/.guix-extra-channels/my-project > > AFAIU David (and this is what I meant, too), is to have the > "develop.scm" (or ".guix-develop-profile.scm") in the project working > tree. This would allow to easily maintain the profile together with the > source and a simple workflow like > > cd /path/to/my-project > guix develop > > or > > guix develop /path/to/my-project Got it, we meant different things indeed. >> Then I can do "guix-install-manifest", Emacs prompts me for a manifest >> name in ~/.guix-extra-manifests (with completion), and does all the >> necessary to install it in ~/.guix-extra-profiles. It dumps the channel >> specification in ~/.guix-extra-channels/my-project. > IMHO this is a too emacs-centric approach. We should also have in mind > those not using guix-mode and not even using emacs. That was my point: it should not be Emacs-centric. From=20the command line, we could do guix install-manifest my-project and guix would lookup the user-define directories in ~/.config/guix/config.scm for instance. Also I believe the Guix should store the channel specifications into the profile when installed from a manifest. It would make everything simpler. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl22BzEACgkQm9z0l6S7 zH99wQf/ZmIMY4UwaygZzIChMYgYeuOg5vcSxttejQKfyk1ZWjUPVFZ/eNv8SPMF oLKFMdeRCGVbF/FCB2d2CCXv3gF2gwbkSBlyICPfTi5LQjI/ZWiMLx6LnskHJZvR jph+ZO5w61dM04McF6Micqwo2EgH+eZFur9HbS9vyj9a/hwMCHvK4+IFrUNL2u9s S/I6j8izU1owokdoLE2LkVa8PDiaQhoQ/06AtSHoQXmDVfZMxoBQFKvpKs1oUNDs mzQbWMWBb1KSHSOntWRhuiDNdCRVyGTf3pIqV/FuTuqZ/H0Q14cuAl2N4QQ6Ubyp 2BJPZpVCEB9mW08bNrbE8xoiOIUpMg== =CIwC -----END PGP SIGNATURE----- --=-=-=--