>> A possible solution is to bind mount a different directory from my host system >> (only containing the shell) into the the chroot environment. >It would have to be a statically linked shell, otherwise you'll need /lib as well. Or a link to stdenv.shell.