Enable nix chroot builds

Hydra (nixos/nixpkgs continuous integration server) builds packages in
chroot environments. Because of that it fails when builds try to access
e.g. /usr/bin/env. By setting nix.useChroot = true we can catch such
build errors before it hits Hydra.