Run nix in a lightweight chroot container
Go to file
lethalman d5a9a63e93 Update README.md
Add some additional explanations
2015-06-24 18:09:19 +02:00
main.c Initial commit 2015-06-24 18:07:09 +02:00
Makefile Initial commit 2015-06-24 18:07:09 +02:00
README.md Update README.md 2015-06-24 18:09:19 +02:00

Run nix as user in a lightweight chrooted container.

  1. Create an empty directory somewhere, mkdir $DIR
  2. Run nix-user-chroot $DIR bash as user

You are now in a chroot where / is owned by your user, hence you can now install nix under /nix as user and run nix commands.