gram: fix darwin build

Hydra reports libclang to be missing, which is fixed by adding the
bindgen hook.

https://hydra.nixos.org/build/334182361
This commit is contained in:
Niklas Korz
2026-07-05 16:54:39 +02:00
parent 37ff280054
commit 658578f710
+1
View File
@@ -65,6 +65,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
cargo-bundle
rustPlatform.bindgenHook
];
dontUseCmakeConfigure = true;