diff --git a/shell.nix b/shell.nix index f7b6817bda6..20ff724d272 100644 --- a/shell.nix +++ b/shell.nix @@ -3,7 +3,12 @@ ( pkgs.buildFHSUserEnv { name = "client-java-shell"; - targetPkgs = pkgs: with pkgs;[ maven openjdk8 git ]; - runScript = "bash"; + targetPkgs = pkgs: with pkgs;[ git maven openjdk8 ]; + runScript = '' + env \ + GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt \ + JAVA_HOME=${pkgs.openjdk8}/lib/openjdk \ + bash + ''; } ).env