all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: rohit yadav <rohityadav@utexas.edu>
Cc: guix-devel@gnu.org
Subject: Re: [Sharing store/state between Nix and Guix]: How stable is it?
Date: Wed, 08 Feb 2017 17:05:18 +0100	[thread overview]
Message-ID: <871sv8ekht.fsf@elephly.net> (raw)
In-Reply-To: <CAGKZdma+SqoimvpgZLY+m1=x3Sgf1oyyYmkj3Rd+_XU6U_tSMg@mail.gmail.com>


rohit yadav <rohityadav@utexas.edu> writes:

> On Mon, Feb 6, 2017 at 11:50 PM, Pjotr Prins <pjotr.public12@thebird.nl>
> 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 indistinguishable
>> >    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.

I don’t think there’s a practical advantage in sharing the store.  The
items will be different for the most part anyway so Guix cannot just use
Nix store items.  You might benefit from deduplication, but it might
make more sense to do deduplication at the filesystem level.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

      reply	other threads:[~2017-02-08 16:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-06 22:14 [Sharing store/state between Nix and Guix]: How stable is it? rohit yadav
2017-02-07  5:50 ` Pjotr Prins
2017-02-07 15:16   ` rohit yadav
2017-02-08 16:05     ` Ricardo Wurmus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871sv8ekht.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=rohityadav@utexas.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.