!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1161 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org188 Servers

Load older messages


SenderMessageTime
24 Oct 2025
@reckenrode:matrix.orgRandy EckenrodeThe symbols are.01:37:42
@reckenrode:matrix.orgRandy EckenrodeThey’re in the text-based stubs.01:37:48
@emilazy:matrix.orgemily right, ok, dispatch_time_from_nsec is there 01:38:06
@emilazy:matrix.orgemilyit seems at least very contextual whether you'd want them to expand to availability checks01:38:16
@emilazy:matrix.orgemily like any time you're compiling something directly you don't want SPI_AVAILABLE on its own definitions 01:38:48
@emilazy:matrix.orgemily what probably makes sense is rewriting SPI_API_ inside the XNU headers etc. themselves 01:39:15
@reckenrode:matrix.orgRandy EckenrodeI’d only want to elide them if we were actually building and using libdispatch on Darwin in lieu of using the system library. I would want those SPI checks in this case when using the system library because they may not be available on older releases. I ran into at least one of those with the 14.0 min version that required patching to check availability.01:39:25
@emilazy:matrix.orgemily libdispatch was just an example 01:39:34
@emilazy:matrix.orgemily dyld is more relevant 01:39:50
@emilazy:matrix.orgemily(since we actually build that)01:40:00
@emilazy:matrix.orgemilyhttps://github.com/apple-oss-distributions/libpcap/blob/e5deb8a7884f6f0d24343e81dfd0a4585a03880a/libpcap/pcap-util.h#L6101:40:37
@emilazy:matrix.orgemily we also build libpcap 01:40:40
@reckenrode:matrix.orgRandy EckenrodeThe only libraries we build are ICU, libffi, libiconv, libresolv, libsbuf, libutil, and libpcap.01:40:44
@emilazy:matrix.orgemilythough I guess we don't use the internal SDK for that01:40:47
@emilazy:matrix.orgemily we build the Mach-O lib in dyld at least… 01:41:10
@emilazy:matrix.orgemilywhich has such annotations01:41:13
@reckenrode:matrix.orgRandy EckenrodeMost things that want to use private libpcap symbols re-declare the function definition. Only Apple bothers to use the private headers.01:41:26
@reckenrode:matrix.orgRandy EckenrodeIt’s a static library that isn’t installed.01:41:57
@reckenrode:matrix.orgRandy EckenrodeI did that to avoid having the same lists of files for multiple executables.01:42:45
@reckenrode:matrix.orgRandy Eckenrode I do export the libdsc_extractor dylib though. 01:43:14
@emilazy:matrix.orgemily fwiw, the repos that mention SPI_AVAILABLE are: libpthread, libmalloc, xnu, mDNSResponder, dyld, Security, WebKit, libdispatch, WebCore, configd, libplatform, libpcap, IOKitUser, Libinfo, eap8021x, libffi 01:44:33
@emilazy:matrix.orgemily I think that the only time we'll be using headers with SPI_* stuff and not just wanting them to be elided (because we're building stuff ourselves and so it's available invariant of runtime OS version) is really just the xnu headers 01:45:13
@emilazy:matrix.orgemily funny header name: SecProtocolRestrictedOptionsGoAwayIfNotApprovedForEPSKsPriv.h 01:45:28
@samasaur:matrix.orgsamasaurany idea why qt can't find Network.framework01:47:16
@emilazy:matrix.orgemilyuhh01:48:19
@emilazy:matrix.orgemily did it -framework it? 01:48:21
@samasaur:matrix.orgsamasaurhttps://github.com/qt/qtbase/blob/e902f8ad85a3a36b266f5e96bf3dc1ddad9fa18e/cmake/QtFrameworkHelpers.cmake#L4201:48:34
@samasaur:matrix.orgsamasaurcan't find it at configure time, not build time01:48:45
@emilazy:matrix.orgemilyhave you looked at our Qt patches01:49:31
@samasaur:matrix.orgsamasauroh dear01:49:42

Show newer messages


Back to Room ListRoom Version: 6