forked from mirrors/nixpkgs
IntelliJ IDEA: do not assume that we are using OpenJDK.
This commit is contained in:
parent
09afbd1f06
commit
f3e0f5e755
|
@ -42,7 +42,9 @@ let
|
|||
|
||||
mkdir -p $out/bin
|
||||
|
||||
jdk=${jdk}/lib/openjdk
|
||||
[ -d ${jdk}/lib/openjdk ] \
|
||||
&& jdk=${jdk}/lib/openjdk \
|
||||
|| jdk=${jdk}
|
||||
|
||||
makeWrapper $out/idea-$build/bin/idea.sh $out/bin/idea \
|
||||
--prefix PATH : ${jdk}/bin:${coreutils}/bin:${gnugrep}/bin:${which}/bin:${git}/bin \
|
||||
|
|
Loading…
Reference in a new issue