!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1163 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
@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
@samasaur:matrix.orgsamasaurno01:49:43
@emilazy:matrix.orgemilythey're not as bad as they used to be01:49:58
@emilazy:matrix.orgemily
    find_library(${cache_var_name} "${framework_name}")

    if(${cache_var_name} AND ${cache_var_name} MATCHES ".framework$")
        set(${out_var} "-framework ${framework_name}" PARENT_SCOPE)
    else()
        set(${out_var} "${out_var}-NOTFOUND" PARENT_SCOPE)
    endif()
01:50:09
@emilazy:matrix.orgemilyhmm I hope I didn't break CMake's ability to find frameworks01:50:14
@samasaur:matrix.orgsamasaurso the thing that's odd is that it appears able to find CFNetwork but not Network01:51:07
@samasaur:matrix.orgsamasaurdespite everything appearing to be "found" the same way01:51:15
@reckenrode:matrix.orgRandy EckenrodeIt would probably be worth making the symbols always be available for libpcap and libffi, but most things that want to use them will redeclare them anyway.01:51:29
@emilazy:matrix.orgemily libpcap and libffi will already get them always available 01:51:43
@emilazy:matrix.orgemily because the public SDK causes SPI_AVAILABLE(…) to expand to nothing 01:51:51

Show newer messages


Back to Room ListRoom Version: 6