buildGraalvmNativeImage: remove workaround for Nix environment variables

This commit is contained in:
Thiago Kenji Okada 2024-10-27 12:21:28 +00:00
parent bc1bc1aa33
commit 80e7a05eed

View File

@ -53,7 +53,7 @@ stdenv.mkDerivation ({
buildPhase = args.buildPhase or '' buildPhase = args.buildPhase or ''
runHook preBuild runHook preBuild
native-image -jar "$jar" $(export -p | sed -n 's/^declare -x \([^=]\+\)=.*$/ -E\1/p' | tr -d \\n) ''${nativeImageBuildArgs[@]} native-image -jar "$jar" ''${nativeImageBuildArgs[@]}
runHook postBuild runHook postBuild
''; '';