diff options
author | Fabián Heredia Montiel <fabianhjr@protonmail.com> | 2022-04-01 15:31:40 -0600 |
---|---|---|
committer | Fabián Heredia Montiel <fabianhjr@protonmail.com> | 2022-09-18 20:52:40 -0500 |
commit | 27a4de43288037d64f9d0bb737ef7350517f6a44 (patch) | |
tree | 6d138c50940f2107581c270932dc8febd794ec2e /pkgs/development/compilers/jetbrains-jdk | |
parent | f8a533953219dcbd1cc27e6176638d78ff5a107f (diff) |
jetbrains.jdk: openjdk11 (11.0.13-b1751.25) → openjdk17 (17.0.3-b469.37)
> With the IntelliJ IDEA 2022.2 EAP we are moving from JetBrains Runtime 11 (JBR11) to JetBrains Runtime 17 (JBR17). Starting with this build, all IntelliJ IDEA 2022.2 updates will come with JBR17. This will have the following effects: > - A significant performance improvement allowing faster and smoother IDE operation. > - Better security, as JBR17 is based on the latest OpenJDK LTS. > - Better rendering performance on macOS, as JetBrains Runtime 17 leverages Metal API. > - Increased accessibility on macOS, as JBR17 features integration with VoiceOver screen reader. > - Usage of Vector API designed to express vector computations that compile at runtime to vector instructions on supported CPU architectures, thus achieving performance superior to equivalent scalar computations. From: https://blog.jetbrains.com/idea/2022/05/intellij-idea-2022-2-eap-1/#JetBrains_Runtime
Diffstat (limited to 'pkgs/development/compilers/jetbrains-jdk')
-rw-r--r-- | pkgs/development/compilers/jetbrains-jdk/default.nix | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/pkgs/development/compilers/jetbrains-jdk/default.nix b/pkgs/development/compilers/jetbrains-jdk/default.nix index b49898e9292a6..27ea63173b20c 100644 --- a/pkgs/development/compilers/jetbrains-jdk/default.nix +++ b/pkgs/development/compilers/jetbrains-jdk/default.nix @@ -1,16 +1,24 @@ -{ lib, openjdk11, fetchFromGitHub, jetbrains }: +{ lib +, stdenv +, fetchFromGitHub +, jetbrains +, openjdk17 +}: -openjdk11.overrideAttrs (oldAttrs: rec { +openjdk17.overrideAttrs (oldAttrs: rec { pname = "jetbrains-jdk"; - version = "11_0_13-b1751.25"; + version = "17.0.3-b469.37"; src = fetchFromGitHub { owner = "JetBrains"; repo = "JetBrainsRuntime"; rev = "jb${version}"; - sha256 = "sha256-TPNYZUkAoiZfp7Ci3fslKnRNGY1lnyIhXYUt6J31lwI="; + hash = + # Upstream issue: https://github.com/JetBrains/JetBrainsRuntime/issues/163 + if stdenv.isDarwin then "sha256-ExRvjs53rIuhUx4oCgAqu1Av3CNAgmE1ZlN0srEh3XM=" + else "sha256-O+OIDRJcIsb/vhO2+SYuYdUYWYTGkBcQ9cHTExLIFDE="; }; - patches = []; + meta = with lib; { description = "An OpenJDK fork to better support Jetbrains's products."; longDescription = '' @@ -25,9 +33,10 @@ openjdk11.overrideAttrs (oldAttrs: rec { your own risk. ''; homepage = "https://confluence.jetbrains.com/display/JBR/JetBrains+Runtime"; - inherit (openjdk11.meta) license platforms mainProgram; + inherit (openjdk17.meta) license platforms mainProgram; maintainers = with maintainers; [ edwtjo ]; }; + passthru = oldAttrs.passthru // { home = "${jetbrains.jdk}/lib/openjdk"; }; |