!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
24 Oct 2025
@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
@emilazy:matrix.orgemilycorrectly in this case01:51:56
@emilazy:matrix.orgemily the only time we ever don't want that behaviour is basically when we're hacking up xnu headers, I think 01:52:39
@reckenrode:matrix.orgRandy Eckenrode I don’t know that the private headers with those declarations are even included in the packages. We build both with their configure scripts. 01:52:42
@emilazy:matrix.orgemily which is why I suggested the best approach is probably to replace SPI_API_ in xnu headers and have an empty AvailabilityInternalPrivate.h (or drop their includes of it) 01:53:12
@emilazy:matrix.orgemily since that will ensure the right behaviour there without screwing up the more common uses of SPI_* in the source releases 01:53:28
@emilazy:matrix.orgemily(where we do want them to be elided)01:53:33
@reckenrode:matrix.orgRandy EckenrodeWe shouldn’t be hacking up xnu headers. We should actually be building them because that sucks a lot less than what we are currently doing.01:53:35
@emilazy:matrix.orgemilydefine "actually building them"?01:54:17
@emilazy:matrix.orgemilyI don't think we can avoid modifying them in some way01:54:36
@reckenrode:matrix.orgRandy EckenrodeThe xnu makefiles have a target for building the headers.01:54:37
@emilazy:matrix.orgemilyfundamentally we are not actually running our own XNU at runtime01:54:46
@reckenrode:matrix.orgRandy EckenrodeThe old source releases used to do it, but they made a mess pf the result.01:55:06
@reckenrode:matrix.orgRandy Eckenrode * 01:55:13

Show newer messages


Back to Room ListRoom Version: 6