nix-user-chroot/README.md

7 lines
281 B
Markdown
Raw Normal View History

2015-06-24 19:07:09 +03: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
2015-06-24 19:07:09 +03:00
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.