mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
Merge pull request #4036 from lostdj/ltp/master/ijifix
IntelliJ IDEA: do not assume that we are using OpenJDK.
This commit is contained in:
commit
df4c114252
@ -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 New Issue
Block a user