2021-05-28 09:39:13 +00:00
|
|
|
{ appleDerivation', stdenvNoCC }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
appleDerivation' stdenvNoCC {
|
2023-02-02 18:25:31 +00:00
|
|
|
dontBuild = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
2023-11-16 04:20:00 +00:00
|
|
|
# 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'
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
}
|