Skip to content

Instantly share code, notes, and snippets.

@matklad
Created August 31, 2017 20:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matklad/e90b0c17fc79e7be8334695ad3d247fd to your computer and use it in GitHub Desktop.
Save matklad/e90b0c17fc79e7be8334695ad3d247fd to your computer and use it in GitHub Desktop.
pkgs.oraclejdk8.overrideDerivation (attrs: rec {
name = "oraclejdk-${productVersion}u${patchVersion}";
src = pkgs.fetchurl {
url = "https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbsdk8u152b970.2_linux_x64.tar.gz";
sha256 = sha256_x86_64;
};
preUnpack = ''
mkdir src
pushd src
'';
postUnpack = ''popd'';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment