unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* share guix and its store between distributions
@ 2023-10-05 15:03 Emmanuel Beffara
  2023-10-05 15:42 ` Felix Lechner via
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Emmanuel Beffara @ 2023-10-05 15:03 UTC (permalink / raw)
  To: help-guix

Hello Guix,

Is there a way to share Guix and its store between several distributions?

My situation is that I have a Guix system installed as my main system, but I
would like to install another distribution on the same machine (a current
Debian, specifically) and use Guix as a package manager there, in order to
benefit from its ability to create reproducible environments. 

Of course, it works to have the other distribution completely independent,
with its own Guix store. The only thing is to handle Grub correctly to give
access to both distros. But it feels like a significant waste of resources,
since I will end up having many things in both stores.

Moreover, ideally I would like to share home directories between the two
distributions, by mounting the same partition as /home, and still be able to
use `guix home` and `guix shell` in both distributions. By some minimal
tuning, I can make it so that users have the same UIDs and GIDs in both
distributions. But I imagine that using Guix in both distributions can become
problematic if they don't share the store and the state in `/var/guix`, for
instance if they don't share GC roots.

Is there a proper way to make that work? Or is it a bad idea?

-- 
Emmanuel


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-12  8:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-05 15:03 share guix and its store between distributions Emmanuel Beffara
2023-10-05 15:42 ` Felix Lechner via
2023-10-05 16:11 ` Daniel Littlewood
2023-10-08  7:03 ` Efraim Flashner
2023-10-09  8:43   ` Emmanuel Beffara
2023-10-11 12:45     ` Simon Tournier
2023-10-11 15:56       ` Emmanuel Beffara
2023-10-11 20:14         ` Simon Tournier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).