this post was submitted on 15 Jul 2025
20 points (100.0% liked)
Guix
446 readers
6 users here now
Guix is an advanced distribution of the GNU operating system developed by the GNU Project
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@tetris11 @jaennaet This wouldn't work. You couldn't have users running their own choice of gcc version, for example, as they'd clobber each other. The way things work actually makes a lot of problems fade, such as DLL hell.
But you typically run different commands in different shells, so if you needed to run different gcc's, you could just create a customized chroot for each shell and make sure that all the tools are where they should be (/usr/bin/ /lib etc)
@tetris11 Typically but not always. Oftentimes guix runs on top of a foreign distribution, and then a chroot jail might be unhelpful.
how so? a chroot jail is a chroot jail. As long as you've got all your toys where they should be, what difference does it make to the distro?
@tetris11 Because guix as a general rule knows nothing about the underlying operating system, so you can't expect it to set things up as you describe.
oh, true. In my head chroot is just proc/sys/dev binding, but you're right that there are OS specific paths there too