From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Guix mentioned in Journal of Open Source Software (JOSS) Date: Tue, 14 Jun 2016 10:35:32 +0200 Message-ID: References: <20160614074712.GA29135@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCjpC-0003n1-KQ for guix-devel@gnu.org; Tue, 14 Jun 2016 04:35:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCjp8-0005Dc-FP for guix-devel@gnu.org; Tue, 14 Jun 2016 04:35:53 -0400 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:43984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCjp8-0005DD-4o for guix-devel@gnu.org; Tue, 14 Jun 2016 04:35:50 -0400 In-Reply-To: <20160614074712.GA29135@thebird.nl> 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.org@gnu.org Sender: "Guix-devel" To: Pjotr Prins Cc: guix-devel@gnu.org Pjotr Prins writes: > (4) Finally, is there a way to automatically inject the search paths in > the shell? Rather than printing them, and people have to copy-paste, > why not create a new shell with paths set? Or is that already > available? At this institute I recommend users install software into one profile per project. To =E2=80=9Center=E2=80=9D a profile users do this: bash cd projects/world-peace source .guix-profile/etc/profile # variables are set now # do work here exit They enter a subshell, then go to their project directory in which they have a Guix profile (always named =E2=80=9C.guix-profile=E2=80=9D). By s= ourcing the profile=E2=80=99s =E2=80=9Cetc/profile=E2=80=9D all environment variables= are set up. When they are done they just exit the subshell, thereby restoring the environment to its previous state. ~~ Ricardo