{jdkVersion ? "openjdk8", pkgs ? import <nixpkgs> {}}: with pkgs; let jdk = builtins.getAttr jdkVersion pkgs; in mkShell { buildInputs = [ jdk ]; shellHook = "exec ${zsh}/bin/zsh -i"; }