mirror of https://github.com/tikv/client-java.git
fix build issue in `nix-shell --pure` (#190)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
This commit is contained in:
parent
f76a267f5b
commit
3be4daf78c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue