caligula: use rustPlatform.bindgenHook

This commit is contained in:
Nick Cao 2024-11-30 08:41:11 -05:00
parent c56b374946
commit b88f9fe294
No known key found for this signature in database

View File

@ -19,10 +19,9 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-ma7JVbWSiKfkCXCDwA8DFm2+KPrWR+8nSdgGSqehNg8=";
env = {
LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib";
};
nativeBuildInputs = [
rustPlatform.bindgenHook
];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks; [