about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/lighthouse
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2022-11-29 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2022-12-06 19:26:14 +0100
commitdf6a7e941ab26bb30688643694f469e5450c5835 (patch)
tree1d386330f53de6c76b0f0bc02d839b1e8e8e8312 /pkgs/applications/blockchains/lighthouse
parent93706c0f1ad4f793f99327a45b7435e1c6cbc18b (diff)
treewide: use bindgenhook where possible
Diffstat (limited to 'pkgs/applications/blockchains/lighthouse')
-rw-r--r--pkgs/applications/blockchains/lighthouse/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/applications/blockchains/lighthouse/default.nix b/pkgs/applications/blockchains/lighthouse/default.nix
index c778ce3f75755..3eebd80cb5934 100644
--- a/pkgs/applications/blockchains/lighthouse/default.nix
+++ b/pkgs/applications/blockchains/lighthouse/default.nix
@@ -34,14 +34,12 @@ rustPlatform.buildRustPackage rec {
 
   buildFeatures = [ "modern" "gnosis" ];
 
-  nativeBuildInputs = [ clang cmake perl protobuf ];
+  nativeBuildInputs = [ rustPlatform.bindgenHook cmake perl protobuf ];
 
   buildInputs = lib.optionals stdenv.isDarwin [
     Security
   ];
 
-  LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
-
   depositContractSpec = fetchurl {
     url = "https://raw.githubusercontent.com/ethereum/eth2.0-specs/v${depositContractSpecVersion}/deposit_contract/contracts/validator_registration.json";
     hash = "sha256-ZslAe1wkmkg8Tua/AmmEfBmjqMVcGIiYHwi+WssEwa8=";