I have wanted to try out some Rust applications in the last weeks. Usually, when I want to try out programs in Guix, I install them directly or create a package for them. But not for programs written in Rust. The Rust ecosystem makes it easy to reuse code, and developers use it excessively. Because of this, packaging such programs is no fun at all.
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