2021-05-06 22:56:46 +03:00
|
|
|
{ appleDerivation', stdenvNoCC }:
|
2015-02-08 09:53:52 +03:00
|
|
|
|
2021-05-06 22:56:46 +03:00
|
|
|
appleDerivation' stdenvNoCC {
|
2023-01-08 01:20:01 +03:00
|
|
|
dontBuild = true;
|
2015-02-08 09:53:52 +03:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
2023-11-12 17:40:22 +03: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'
|
2015-02-08 09:53:52 +03:00
|
|
|
'';
|
|
|
|
}
|