diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-11-29 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-12-06 19:26:14 +0100 |
commit | df6a7e941ab26bb30688643694f469e5450c5835 (patch) | |
tree | 1d386330f53de6c76b0f0bc02d839b1e8e8e8312 /pkgs/applications/blockchains/nearcore | |
parent | 93706c0f1ad4f793f99327a45b7435e1c6cbc18b (diff) |
treewide: use bindgenhook where possible
Diffstat (limited to 'pkgs/applications/blockchains/nearcore')
-rw-r--r-- | pkgs/applications/blockchains/nearcore/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/applications/blockchains/nearcore/default.nix b/pkgs/applications/blockchains/nearcore/default.nix index 44bfcc3a6e00f..a929406cee929 100644 --- a/pkgs/applications/blockchains/nearcore/default.nix +++ b/pkgs/applications/blockchains/nearcore/default.nix @@ -42,14 +42,12 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config protobuf + rustPlatform.bindgenHook ]; # fat LTO requires ~3.4GB RAM requiredSystemFeatures = [ "big-parallel" ]; - LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; - BINDGEN_EXTRA_CLANG_ARGS = "-isystem ${llvmPackages.libclang.lib}/lib/clang/${lib.getVersion llvmPackages.clang}/include"; - meta = with lib; { description = "Reference client for NEAR Protocol"; homepage = "https://github.com/near/nearcore"; |