diff --git a/pkgs/yourkit.nix b/pkgs/yourkit.nix index 0e27882..72c3129 100644 --- a/pkgs/yourkit.nix +++ b/pkgs/yourkit.nix @@ -1,11 +1,11 @@ with import {}; stdenv.mkDerivation rec { name = "yjp-${version}"; - version = "2016.02-b40"; + version = "2017.02-b53"; src = fetchurl { url = "https://www.yourkit.com/download/${name}.zip"; - sha256 = "13kpw6wsc9rpy2pqh1a3fz52qdw1yschn51w3xz35s5g6i8f58fj"; + sha256 = "0ms1pq5badk6wb468s6kxqb2c9ll1sbjz2p61sdbpjp59a1sv2gx"; }; nativeBuildInputs = [ unzip makeWrapper patchelf ]; @@ -16,6 +16,6 @@ stdenv.mkDerivation rec { chmod +x $out/yjp/bin/*/yjp_dc patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/yjp/bin/linux-x86-64/yjp_dc makeWrapper $out/yjp/bin/yjp.sh $out/bin/yjp \ - --prefix PATH : ${jdk} + --set YJP_JAVA_HOME ${jdk} ''; }