forked from mirrors/nixpkgs
buildGraalvmNativeImage: fix meta, add --verbose flag
This commit is contained in:
parent
e9766a85bd
commit
f1c16183c8
|
@ -26,6 +26,7 @@ stdenv.mkDerivation (args // {
|
||||||
"-H:CLibraryPath=${lib.getLib graalvm}/lib"
|
"-H:CLibraryPath=${lib.getLib graalvm}/lib"
|
||||||
"${lib.optionalString stdenv.isDarwin "-H:-CheckToolchain"}"
|
"${lib.optionalString stdenv.isDarwin "-H:-CheckToolchain"}"
|
||||||
"-H:Name=${executable}"
|
"-H:Name=${executable}"
|
||||||
|
"--verbose"
|
||||||
extraNativeImageBuildArgs
|
extraNativeImageBuildArgs
|
||||||
graalvmXmx
|
graalvmXmx
|
||||||
]);
|
]);
|
||||||
|
@ -46,8 +47,6 @@ stdenv.mkDerivation (args // {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta.platforms = lib.attrByPath [ "meta" "platforms" ] graalvm.meta.platforms args;
|
||||||
platforms = lib.attrByPath [ "meta" "platforms" ] graalvm.meta.platforms args;
|
meta.mainProgram = lib.attrByPath [ "meta" "mainProgram" ] executable args;
|
||||||
mainProgram = lib.attrByPath [ "meta" "mainProgram" ] executable args;
|
|
||||||
};
|
|
||||||
})
|
})
|
||||||
|
|
|
@ -13,7 +13,6 @@ buildGraalvmNativeImage rec {
|
||||||
|
|
||||||
extraNativeImageBuildArgs = [
|
extraNativeImageBuildArgs = [
|
||||||
"-H:+ReportExceptionStackTraces"
|
"-H:+ReportExceptionStackTraces"
|
||||||
"--verbose"
|
|
||||||
"--no-fallback"
|
"--no-fallback"
|
||||||
"--native-image-info"
|
"--native-image-info"
|
||||||
];
|
];
|
||||||
|
|
|
@ -11,7 +11,6 @@ buildGraalvmNativeImage rec {
|
||||||
|
|
||||||
extraNativeImageBuildArgs = [
|
extraNativeImageBuildArgs = [
|
||||||
"-H:+ReportExceptionStackTraces"
|
"-H:+ReportExceptionStackTraces"
|
||||||
"--verbose"
|
|
||||||
"--no-fallback"
|
"--no-fallback"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@ buildGraalvmNativeImage rec {
|
||||||
"-H:ReflectionConfigurationFiles=${reflectionJson}"
|
"-H:ReflectionConfigurationFiles=${reflectionJson}"
|
||||||
"--initialize-at-build-time"
|
"--initialize-at-build-time"
|
||||||
"-H:Log=registerResource:"
|
"-H:Log=registerResource:"
|
||||||
"--verbose"
|
|
||||||
"--no-fallback"
|
"--no-fallback"
|
||||||
"--no-server"
|
"--no-server"
|
||||||
];
|
];
|
||||||
|
|
|
@ -21,7 +21,6 @@ buildGraalvmNativeImage rec {
|
||||||
|
|
||||||
extraNativeImageBuildArgs = [
|
extraNativeImageBuildArgs = [
|
||||||
"-H:CLibraryPath=${DTLV_LIB_EXTRACT_DIR}"
|
"-H:CLibraryPath=${DTLV_LIB_EXTRACT_DIR}"
|
||||||
"--verbose"
|
|
||||||
"--no-fallback"
|
"--no-fallback"
|
||||||
"--native-image-info"
|
"--native-image-info"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue