Improve error printing in `nix repl` (cherry picked from commit a8050d9b83) Change-Id: I588f92d1dd4c546c98788b71403cc034f5e7129a
a8050d9b83
I588f92d1dd4c546c98788b71403cc034f5e7129a