lucabrunox / nix-user-chroot

Run nix in a lightweight chroot container
78 stars 17 forks source link

Fixes #5

Closed matthewbauer closed 8 years ago

matthewbauer commented 8 years ago

I've got a few different commits:

matthewbauer commented 8 years ago

ping @lethalman

lucabrunox commented 8 years ago

Hi, thanks a lot. Why would you want to remove $ROOT, it allows for customization. What about:

if [ -z "$ROOT" ]; then
  ROOT="~/.nix"
fi
lucabrunox commented 8 years ago

Ah I see, yes using a temp dir is a good approach. Understood now, forget the message above.

lucabrunox commented 8 years ago

Great, thanks!