[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sharing store/state between Nix and Guix]: How stable is it?

From: Ricardo Wurmus
Subject: Re: [Sharing store/state between Nix and Guix]: How stable is it?
Date: Wed, 08 Feb 2017 17:05:18 +0100
User-agent: mu4e 0.9.18; emacs 25.1.1

rohit yadav <address@hidden> writes:

> On Mon, Feb 6, 2017 at 11:50 PM, Pjotr Prins <address@hidden>
> 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.


GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC

reply via email to

[Prev in Thread] Current Thread [Next in Thread]