update yourkit
This commit is contained in:
parent
3ca1599e02
commit
900e16204d
@ -1,11 +1,11 @@
|
|||||||
with import <nixpkgs> {};
|
with import <nixpkgs> {};
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "yjp-${version}";
|
name = "yjp-${version}";
|
||||||
version = "2016.02-b40";
|
version = "2017.02-b53";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.yourkit.com/download/${name}.zip";
|
url = "https://www.yourkit.com/download/${name}.zip";
|
||||||
sha256 = "13kpw6wsc9rpy2pqh1a3fz52qdw1yschn51w3xz35s5g6i8f58fj";
|
sha256 = "0ms1pq5badk6wb468s6kxqb2c9ll1sbjz2p61sdbpjp59a1sv2gx";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip makeWrapper patchelf ];
|
nativeBuildInputs = [ unzip makeWrapper patchelf ];
|
||||||
@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
|
|||||||
chmod +x $out/yjp/bin/*/yjp_dc
|
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
|
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 \
|
makeWrapper $out/yjp/bin/yjp.sh $out/bin/yjp \
|
||||||
--prefix PATH : ${jdk}
|
--set YJP_JAVA_HOME ${jdk}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user