From e357bf3d12e34772961896a6961317e97f322fa3 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Tue, 23 Jun 2015 10:44:00 +0200 Subject: [PATCH] Update yourkit derivation. --- pkgs/yourkit.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/yourkit.nix b/pkgs/yourkit.nix index d01d22a..4452198 100644 --- a/pkgs/yourkit.nix +++ b/pkgs/yourkit.nix @@ -1,19 +1,20 @@ with import {}; stdenv.mkDerivation rec { name = "yjp-${version}"; - version = "2015-build-15056"; + version = "2015-build-15062"; src = fetchzip { - url = https://www.yourkit.com/download/yjp-2015-build-15056.zip; - sha256 = "0y3d3fs91w0qbdvbm4nr02rmkbqmndl7j4rhxwzibs815ci659jn"; + url = "https://www.yourkit.com/download/${name}.zip"; + sha256 = "0dwfha6vid4nq21zm74v248yr83wpjfs1dd7ga8gykbs4insp66q"; }; - buildInputs = [ unzip makeWrapper ]; + nativeBuildInputs = [ unzip makeWrapper patchelf ]; installPhase = '' mkdir -p $out cp -ra ./ $out/yjp 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} '';