mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
jetbrains: allow to override JAVA_HOME/ANDROID_JAVA_HOME/JDK_HOME
Otherwise one cannot use a different java version i.e. jdk17
This commit is contained in:
parent
dd37d07ccf
commit
2909f5b041
@ -82,10 +82,10 @@ with stdenv; lib.makeOverridable mkDerivation (rec {
|
||||
libnotify
|
||||
] ++ extraLdPath)}" \
|
||||
${lib.concatStringsSep " " extraWrapperArgs} \
|
||||
--set JDK_HOME "$jdk" \
|
||||
--set-default JDK_HOME "$jdk" \
|
||||
--set-default ANDROID_JAVA_HOME "$jdk" \
|
||||
--set-default JAVA_HOME "$jdk" \
|
||||
--set ${hiName}_JDK "$jdk" \
|
||||
--set ANDROID_JAVA_HOME "$jdk" \
|
||||
--set JAVA_HOME "$jdk" \
|
||||
--set ${hiName}_VM_OPTIONS ${vmoptsFile}
|
||||
|
||||
ln -s "$item/share/applications" $out/share
|
||||
|
Loading…
Reference in New Issue
Block a user