From mboxrd@z Thu Jan 1 00:00:00 1970 From: rohit yadav Subject: Re: [Sharing store/state between Nix and Guix]: How stable is it? Date: Tue, 7 Feb 2017 09:16:02 -0600 Message-ID: References: <20170207055044.GB6888@mail.thebird.nl> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d6a0c4d0be50547f23c01 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb7Vf-0001nW-Tx for guix-devel@gnu.org; Tue, 07 Feb 2017 10:16:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb7Vc-0007iL-R8 for guix-devel@gnu.org; Tue, 07 Feb 2017 10:16:47 -0500 Received: from mail-ot0-x234.google.com ([2607:f8b0:4003:c0f::234]:35546) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cb7Vc-0007h4-Kz for guix-devel@gnu.org; Tue, 07 Feb 2017 10:16:44 -0500 Received: by mail-ot0-x234.google.com with SMTP id 65so88226960otq.2 for ; Tue, 07 Feb 2017 07:16:44 -0800 (PST) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com. [209.85.218.51]) by smtp.gmail.com with ESMTPSA id u93sm2156984otb.13.2017.02.07.07.16.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 07:16:43 -0800 (PST) Received: by mail-oi0-f51.google.com with SMTP id w204so66296573oiw.0 for ; Tue, 07 Feb 2017 07:16:43 -0800 (PST) In-Reply-To: <20170207055044.GB6888@mail.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 --001a113d6a0c4d0be50547f23c01 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Feb 6, 2017 at 11:50 PM, Pjotr Prins wrote: > On Mon, Feb 06, 2017 at 04:14:04PM -0600, rohit yadav wrote: > > Hi, > > Is there anyone who has experimented with above mentioned idea? In > theory > > it may be possible, I am just wondering how stable is it? Assuming, = I > > installed a package with guix, it should change the database, create > a new > > profile. As long as ~/.nix-profile or ~/.guix-profile points to > current > > profile I should see the changes in list of packages in the current > > generation. So, at higher level it should almost be indistinguishabl= e > > whether nix or guix is used to manage the profiles. > > Yes, it is perfectly safe and some people do that. Note that I would > not *share* the DB and store - just have them separate and they > coexist fine. > Actually my question was whether DB and Store can be shared. Guix and Nix only changes the databases depending on what is installed and updating the current generation.=E2=80=8B > > > Is there any plan to change the nix core completely (reimplement usi= ng > > scheme guile) in the future? > > When someone feels the itch it may happen. At FOSDEM someone joked > that we should support the Nix language in Guix - i.e., write a Nix to > Guile interpreter to support Nix packages live in Guix. Alternatively > run two daemons. > =E2=80=8B- Yes, that may be useful. This way we can benefit from the work o= f NixOS community.=E2=80=8B > > Pj. > > -- > --001a113d6a0c4d0be50547f23c01 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Mon, Feb 6, 2017 at 11:50 PM,= Pjotr Prins <pjotr.public12@thebird.nl> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">On Mon, Feb 06, 2017 at 04:1= 4:04PM -0600, rohit yadav wrote:
>=C2=A0 =C2=A0 Hi,
>=C2=A0 =C2=A0 Is there anyone who has experimented with above mentioned= idea? In theory
>=C2=A0 =C2=A0 it may be possible, I am just wondering how stable is it?= Assuming, I
>=C2=A0 =C2=A0 installed a package with guix, it should change the datab= ase, create a new
>=C2=A0 =C2=A0 profile. As long as ~/.nix-profile or ~/.guix-profile poi= nts to current
>=C2=A0 =C2=A0 profile I should see the changes in list of packages in t= he current
>=C2=A0 =C2=A0 generation. So, at higher level it should almost be indis= tinguishable
>=C2=A0 =C2=A0 whether nix or guix is used to manage the profiles.

Yes, it is perfectly safe and some people do that. Note that I would=
not *share* the DB and store - just have them separate and they
coexist fine.
Actually = my question was whether DB and Store can be shared. Guix and Nix only chang= es the databases depending on what is installed and updating the current ge= neration.=E2=80=8B

>=C2=A0 =C2=A0 Is there any plan to change the nix core completely (reim= plement using
>=C2=A0 =C2=A0 scheme guile) in the future?

When someone feels the itch it may happen. At FOSDEM someone joked that we should support the Nix language in Guix - i.e., write a Nix to
Guile interpreter to support Nix packages live in Guix. Alternatively
run two daemons.
=E2=80= =8B- Yes, that may be useful. This way we can benefit from the work of NixO= S community.=E2=80=8B

Pj.

--

--001a113d6a0c4d0be50547f23c01--