Hy, i’ve being using nix for my HPC research. The goto is nix-portable, even though nix already supports non root installations. I’ve encountered issues with multi-node executions and the backends nix-portable uses to intercept the path requests. So i’d like to know if using nix base is a real alterantive, or is too much hassle to setup in non-root spaces.
1 Like
Personally, on cluster I only use the static version of Nix. It’s not perfect, the garbage collector is not usable with shared filesystem, so when the store became too big I just remove it, and in nix shell you cannot use setuid commands or similar due to user_namespace (and they must enabled of course). I’ve some helper scripts to build and install recent nix-static version: Making sure you're not a bot! (have a look for inspiration if needed but don’t trust it ! it will copy a build from our repo…)
2 Likes