yourkit-java: reformat let

This commit is contained in:
Guanpeng Xu
2023-12-30 15:54:31 -08:00
parent 7ea650ca3f
commit 7fc8aa0d52
@@ -3,13 +3,16 @@
, stdenv
, jdk17
}:
let jre = jdk17;
vPath = v: lib.elemAt (lib.splitString "-" v) 0;
arch = if stdenv.targetPlatform.system == "x86_64-linux"
then "x64"
else if stdenv.targetPlatform.system == "aarch64-linux"
then "arm64"
else throw "Unsupported system";
let
jre = jdk17;
vPath = v: lib.elemAt (lib.splitString "-" v) 0;
arch = if stdenv.targetPlatform.system == "x86_64-linux"
then "x64"
else if stdenv.targetPlatform.system == "aarch64-linux"
then "arm64"
else throw "Unsupported system";
in
stdenv.mkDerivation rec {
pname = "YourKit-JavaProfiler";