surrealpatch/pkg/nix/spec/x86_64-apple-darwin.nix
2022-12-30 08:23:19 +00:00

21 lines
425 B
Nix

{ pkgs, target, util }:
{
inherit target;
features = with util.features; [ storage-mem http ];
buildSpec = with pkgs; {
depsBuildBuild = [ clang protobuf perl ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl libiconv darwin.apple_sdk.frameworks.Security ];
CARGO_BUILD_TARGET = target;
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
OPENSSL_NO_VENDOR = "true";
};
}