diff --git a/flake.nix b/flake.nix index 4d2ed59..5fff25b 100644 --- a/flake.nix +++ b/flake.nix @@ -123,6 +123,13 @@ pname = "tunein"; version = "0.6.0"; + nativeBuildInputs = lib.optionals pkgs.stdenv.isDarwin [ + # coreaudio-sys generates its CoreAudio bindings with bindgen at + # build time; bindgenHook provides libclang (LIBCLANG_PATH) and + # points clang at the Nix Apple SDK headers. + pkgs.rustPlatform.bindgenHook + ]; + buildInputs = [ # Add additional build inputs here pkgs.openssl