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/polkadot | |
parent | 93706c0f1ad4f793f99327a45b7435e1c6cbc18b (diff) |
treewide: use bindgenhook where possible
Diffstat (limited to 'pkgs/applications/blockchains/polkadot')
-rw-r--r-- | pkgs/applications/blockchains/polkadot/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/blockchains/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix index 443fe36143c50..596130337c7ad 100644 --- a/pkgs/applications/blockchains/polkadot/default.nix +++ b/pkgs/applications/blockchains/polkadot/default.nix @@ -36,14 +36,13 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isDarwin [ Security ]; - nativeBuildInputs = [ clang ]; + nativeBuildInputs = [ rustPlatform.bindgenHook ]; preBuild = '' export SUBSTRATE_CLI_GIT_COMMIT_HASH=$(cat .git_commit) rm .git_commit ''; - LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; PROTOC = "${protobuf}/bin/protoc"; # NOTE: We don't build the WASM runtimes since this would require a more |