3 ms·
> You are going to hit the same issues whether you do this with Nix or you do this with plain old chroots. The main advantage of Nix here is not its binary cac
by adev_ 3y ago
> You are going to hit the same issues whether you do this with Nix or you do this with plain old chroots.
The main advantage of Nix here is not its binary cache and reproducibility.
It is Nix's ability to bootstrap any compiler tool chain + coreutils + kernel from scratch with just a bit of line of config.
Nix allow you to do what you would normally with a chroot but under steroid. It is not a magic bullet, far to be, but one order of magnitude easier to setup the exact tool chain you want than with anything else.
Most path related problems can be solved with a bunch of link and/or patchelf.
> will try to set a rare resolution & refresh rate using Xrandr (good luck!), or will try to use OSS
On this your are perfectly right. That will not protect you against this kind of crap related to exotic dependencies.
On that aspect Windows again is not much better (probably worst). Good luck to try to run in 2023 an old game that has a dependency on Novell IPX, an old version of Nvidia PhysiX or harcoded assumption on the GPU type