mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
buildGraalvmNativeImage: remove workaround for Nix environment variables
This commit is contained in:
parent
bc1bc1aa33
commit
80e7a05eed
@ -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
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user