2022-10-04 16:32:44 +00:00
|
|
|
{ pkgs, target, util }:
|
|
|
|
|
|
|
|
{
|
|
|
|
inherit target;
|
|
|
|
|
2022-12-30 08:23:19 +00:00
|
|
|
features = with util.features; [ storage-mem http ];
|
2022-10-04 16:32:44 +00:00
|
|
|
|
|
|
|
buildSpec = with pkgs; {
|
|
|
|
depsBuildBuild = [ clang protobuf perl ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
2022-12-17 15:08:07 +00:00
|
|
|
buildInputs = [ openssl libiconv darwin.apple_sdk.frameworks.Security ];
|
2022-10-04 16:32:44 +00:00
|
|
|
|
|
|
|
CARGO_BUILD_TARGET = target;
|
|
|
|
|
|
|
|
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
|
|
|
|
|
|
|
OPENSSL_NO_VENDOR = "true";
|
|
|
|
};
|
|
|
|
}
|