graalvmCEPackages.buildGraalvmProduct: add Foundation to buildInputs

This commit is contained in:
Thiago Kenji Okada 2023-09-27 22:29:22 +01:00
parent 61b910555e
commit 7457b3cec3

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, autoPatchelfHook
, darwin
, graalvm-ce
, makeWrapper
, zlib
@ -17,10 +18,11 @@ let
"lib"
"stdenv"
"autoPatchelfHook"
"darwin"
"graalvm-ce"
"libxcrypt-legacy"
"makeWrapper"
"zlib"
"libxcrypt-legacy"
"product"
"extraBuildInputs"
"extraNativeBuildInputs"
@ -38,7 +40,9 @@ stdenv.mkDerivation ({
stdenv.cc.cc.lib # libstdc++.so.6
zlib
libxcrypt-legacy # libcrypt.so.1 (default is .2 now)
] ++ extraBuildInputs;
]
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Foundation
++ extraBuildInputs;
unpackPhase = ''
runHook preUnpack