From 80e7a05eedbfe66a93b70352eccb718837b0bbd5 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sun, 27 Oct 2024 12:21:28 +0000 Subject: [PATCH] buildGraalvmNativeImage: remove workaround for Nix environment variables --- pkgs/build-support/build-graalvm-native-image/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/build-graalvm-native-image/default.nix b/pkgs/build-support/build-graalvm-native-image/default.nix index 0ac84b000575..d2f3aef8860c 100644 --- a/pkgs/build-support/build-graalvm-native-image/default.nix +++ b/pkgs/build-support/build-graalvm-native-image/default.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation ({ buildPhase = args.buildPhase or '' 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 '';