3
0
Fork 0
forked from mirrors/nixpkgs

IntelliJ IDEA: do not assume that we are using OpenJDK.

This commit is contained in:
lostdj 2014-09-11 20:51:12 +04:00
parent 09afbd1f06
commit f3e0f5e755

View file

@ -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 \