From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Towards reproducibly Jupyter notebooks with Guix-Jupyter Date: Tue, 22 Oct 2019 12:16:12 +0200 Message-ID: <87y2xd5bmb.fsf@inria.fr> References: <87lftt57ux.fsf@inria.fr> <87imowwt3i.fsf@gnu.org> <875zkru70u.fsf@inria.fr> <87imorqx0w.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35661) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMrDA-0007PU-Vm for guix-devel@gnu.org; Tue, 22 Oct 2019 06:16:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMrD9-0008IP-Qs for guix-devel@gnu.org; Tue, 22 Oct 2019 06:16:20 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:24446) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iMrD9-0008Gw-Cl for guix-devel@gnu.org; Tue, 22 Oct 2019 06:16:19 -0400 In-Reply-To: (Konrad Hinsen's message of "Mon, 21 Oct 2019 14:50:27 +0200") 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: Konrad Hinsen Cc: Guix Devel Hi, Konrad Hinsen skribis: >>>> At the API level, there=E2=80=99s =E2=80=98inferior-for-channels=E2=80= =99 which does that + >>>> registers a GC root + maintains a cache so that the second time you use >>>> a given instance of Guix it=E2=80=99s immediately available. >>> >>> Just what I need... >> >> Awesome, let us know how it goes! > > Not so well... Did you define an environment along the lines of the example at ? If so, this should behave in exactly the same way as a =E2=80=9Cregular=E2= =80=9D =E2=80=98guix environment=E2=80=99, so I=E2=80=99m not sure where the issues regarding ac= cess to the tty come from? Depending on the use case, another option is to not use inferiors at all and simply do: guix pull --commit=3DXYZ -p ./my-old-guix ./my-old-guix/bin/guix environment --ad-hoc whatevern But maybe I=E2=80=99m missing something, let me know. :-) Thanks, Ludo=E2=80=99.