21
submitted 2 weeks ago by csantosb@lemmy.ml to c/guix@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] tetris11@lemmy.ml 2 points 2 weeks ago

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)

[-] khleedril@cyberplace.social 3 points 2 weeks ago

@tetris11 Typically but not always. Oftentimes guix runs on top of a foreign distribution, and then a chroot jail might be unhelpful.

[-] tetris11@lemmy.ml 2 points 2 weeks ago

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?

[-] khleedril@cyberplace.social 2 points 1 week ago

@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.

[-] tetris11@lemmy.ml 1 points 1 week ago

oh, true. In my head chroot is just proc/sys/dev binding, but you're right that there are OS specific paths there too

this post was submitted on 15 Jul 2025
21 points (100.0% liked)

Guix

446 readers
1 users here now

Guix is an advanced distribution of the GNU operating system developed by the GNU Project

founded 5 years ago
MODERATORS