depot/third_party/nixpkgs/pkgs/os-specific/darwin/apple-source-releases/mDNSResponder/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

12 lines
406 B
Nix

{ appleDerivation', stdenvNoCC }:
appleDerivation' stdenvNoCC {
dontBuild = true;
installPhase = ''
mkdir -p $out/include
# TODO: Do this only for 765.50.9 once there is a way to apply version-specific
# logic in a source-release derivation.
substitute mDNSShared/dns_sd.h $out/include/dns_sd.h \
--replace '#define _DNS_SD_LIBDISPATCH 0' '#define _DNS_SD_LIBDISPATCH 1'
'';
}