using nix-shell instead of pkgs.myEnvFun.

test case are broken.