mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
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
|
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 \
|
makeWrapper $out/idea-$build/bin/idea.sh $out/bin/idea \
|
||||||
--prefix PATH : ${jdk}/bin:${coreutils}/bin:${gnugrep}/bin:${which}/bin:${git}/bin \
|
--prefix PATH : ${jdk}/bin:${coreutils}/bin:${gnugrep}/bin:${which}/bin:${git}/bin \
|
||||||
|
Loading…
Reference in New Issue
Block a user