surrealpatch/pkg/nix/spec/aarch64-unknown-linux-gnu.nix

22 lines
388 B
Nix
Raw Normal View History

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