1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

jetbrains.jdk: 164 -> 451

This commit is contained in:
Edmund Wu 2019-08-29 15:13:44 -04:00
parent e0795aa5e8
commit 925abd008b
No known key found for this signature in database
GPG key ID: 76AA3F9F2BD3E3A0
2 changed files with 5 additions and 6 deletions

View file

@ -240,7 +240,7 @@ let
patchPhase = (attrs.patchPhase or "") + optionalString (stdenv.isLinux) ''
# Webstorm tries to use bundled jre if available.
# Lets prevent this for the moment
rm -r jre64
rm -r jbr
'';
});
in

View file

@ -7,12 +7,12 @@
let drv = stdenv.mkDerivation rec {
pname = "jetbrainsjdk";
version = "164";
version = "451";
src = if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrsdk-11_0_2-linux-x64-b${version}.tar.gz";
sha256 = "121yzgvkfx7lq0k9s8wjnhz09a564br5y7zlkxgh191sbm2i7zdi";
url = "https://bintray.com/jetbrains/intellij-jbr/download_file?file_path=jbrsdk-11_0_4-linux-x64-b${version}.tar.gz";
sha256 = "05khf817i8lywfdp68a6lniv8hgi20rmnxqp3963k6vw41ar9qba";
}
else
throw "unsupported system: ${stdenv.hostPlatform.system}";
@ -24,8 +24,7 @@ let drv = stdenv.mkDerivation rec {
installPhase = ''
cd ..
mv $sourceRoot $out
jrePath=$out/jre
mv $sourceRoot/jbrsdk $out
'';
postFixup = ''