From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix-shell? Date: Thu, 28 Aug 2014 17:45:06 +0200 Message-ID: <87lhq8aa9p.fsf@gnu.org> References: <87fvgo3mlx.fsf@gnu.org> <87zjesgqc5.fsf_-_@gnu.org> <87d2bn32ru.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> 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]:52838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN1sw-0004ht-QZ for guix-devel@gnu.org; Thu, 28 Aug 2014 11:45:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XN1sp-0007OL-P5 for guix-devel@gnu.org; Thu, 28 Aug 2014 11:45:14 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:49424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN1sp-0007Ls-Il for guix-devel@gnu.org; Thu, 28 Aug 2014 11:45:07 -0400 In-Reply-To: <87d2bn32ru.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (David Thompson's message of "Tue, 26 Aug 2014 07:32:05 -0400") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: David Thompson Cc: guix-devel David Thompson skribis: > Hmm, I thought that this was a perfect use-case for profiles. I haven't > read the source to nix-shell yet, but I inferred that it essentially did > the following: > > 1) Create profile in project directory > 2) Install dependencies > 3) Run the desired shell > 4) Prepend the new profile's /bin to $PATH > 5) Set search path env vars Just to be clear, that=E2=80=99s something that can be done currently with: guix package -p foo -i one two three eval `guix package -p $PWD/foo --search-paths` export PATH=3D"$PWD/foo/bin" (We could easily get rid of the last step.) Ludo=E2=80=99.