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"
|
||||
"${lib.optionalString stdenv.isDarwin "-H:-CheckToolchain"}"
|
||||
"-H:Name=${executable}"
|
||||
"--verbose"
|
||||
extraNativeImageBuildArgs
|
||||
graalvmXmx
|
||||
]);
|
||||
|
@ -46,8 +47,6 @@ stdenv.mkDerivation (args // {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = lib.attrByPath [ "meta" "platforms" ] graalvm.meta.platforms args;
|
||||
mainProgram = lib.attrByPath [ "meta" "mainProgram" ] executable args;
|
||||
};
|
||||
meta.platforms = lib.attrByPath [ "meta" "platforms" ] graalvm.meta.platforms args;
|
||||
meta.mainProgram = lib.attrByPath [ "meta" "mainProgram" ] executable args;
|
||||
})
|
||||
|
|
|
@ -13,7 +13,6 @@ buildGraalvmNativeImage rec {
|
|||
|
||||
extraNativeImageBuildArgs = [
|
||||
"-H:+ReportExceptionStackTraces"
|
||||
"--verbose"
|
||||
"--no-fallback"
|
||||
"--native-image-info"
|
||||
];
|
||||
|
|
|
@ -11,7 +11,6 @@ buildGraalvmNativeImage rec {
|
|||
|
||||
extraNativeImageBuildArgs = [
|
||||
"-H:+ReportExceptionStackTraces"
|
||||
"--verbose"
|
||||
"--no-fallback"
|
||||
];
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ buildGraalvmNativeImage rec {
|
|||
"-H:ReflectionConfigurationFiles=${reflectionJson}"
|
||||
"--initialize-at-build-time"
|
||||
"-H:Log=registerResource:"
|
||||
"--verbose"
|
||||
"--no-fallback"
|
||||
"--no-server"
|
||||
];
|
||||
|
|
|
@ -21,7 +21,6 @@ buildGraalvmNativeImage rec {
|
|||
|
||||
extraNativeImageBuildArgs = [
|
||||
"-H:CLibraryPath=${DTLV_LIB_EXTRACT_DIR}"
|
||||
"--verbose"
|
||||
"--no-fallback"
|
||||
"--native-image-info"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue