Nix (package manager): Difference between revisions

imported>Ixxie
No edit summary
imported>Ixxie
Line 23: Line 23:


By using [https://github.com/lethalman/nix-user-chroot nix-user-chroot] or [https://github.com/proot-me/PRoot PRoot]
By using [https://github.com/lethalman/nix-user-chroot nix-user-chroot] or [https://github.com/proot-me/PRoot PRoot]
you can use nix on systems, where you have no permission to create `/nix`.
you can use Nix on systems, where you have no permission to create `/nix`.
<code>nix-user-chroot</code> is the preferred and faster option. However it might not run on older linux kernels
<code>nix-user-chroot</code> is the preferred and faster option. However it might not run on older linux kernels
or kernels without user namespace support. With the following command you can test
or kernels without user namespace support. With the following command you can test
Line 42: Line 42:


If the output of this command is <code>CONFIG_USER_NS=y</code> your system supports user namespaces.
If the output of this command is <code>CONFIG_USER_NS=y</code> your system supports user namespaces.


== Sandbox builds ==
== Sandbox builds ==