!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.org181 Servers

Load older messages


SenderMessageTime
23 Oct 2025
@emilazy:matrix.orgemilyit should be listed as unsupported for the WASI toolchain then no?00:30:15
@reckenrode:matrix.orgRandy EckenrodeThe hardening may be supported, but the check doesn’t expect the extra macros. We’re not defining this as a default in libc++. We’re going behinds its back via the wrapper.00:38:03
@emilazy:matrix.orgemily libc++ tells distros to set it as a -D IIRC 00:38:29
@reckenrode:matrix.orgRandy EckenrodeThough in this case it appears to be a set of predefined macros from the WASI libc.00:38:45
@emilazy:matrix.orgemilyoh00:38:46
@emilazy:matrix.orgemilyok, I'm wrong00:38:51
@emilazy:matrix.orgemilythere is a knob00:38:53
@reckenrode:matrix.orgRandy Eckenrode/nix/store/2csn56l6kpm3ccbljvd8g9w9c7d9f8s1-wasilibc-static-wasm32-unknown-wasi-27-share/share/predefined-macros.txt00:38:53
@emilazy:matrix.orgemilywe should probably just set the default in the derivation…00:39:22
@emilazy:matrix.orgemilyand have hardening flags only for the opt-in levels00:39:30
@reckenrode:matrix.orgRandy EckenrodeNaturally, Apple releases the source releases right after I open this PR.00:39:32
@emilazy:matrix.orgemilythe macOS 26 ones?00:39:44
@reckenrode:matrix.orgRandy EckenrodeYes.00:39:49
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/apple-oss-distributions/distribution-macOS/tree/macos-26000:40:00
@emilazy:matrix.orgemilyfeature freeze is in a couple days, maybe those should be for 26.05 😅00:40:01
@emilazy:matrix.orgemilyforgot to look at the bump today, sorry00:40:22
@emilazy:matrix.orgemilyhopefully tomorrow00:40:24
@reckenrode:matrix.orgRandy EckenrodeBut text_cmds has an updated sed! 🤪00:43:19
@reckenrode:matrix.orgRandy EckenrodeMore importantly. ld64 updates.00:43:46
@reckenrode:matrix.orgRandy EckenrodeWe might need the ld64 update for the 26.0 SDK.00:44:37
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/apple-oss-distributions/ld64/blob/1a4389663d65d6630e4b3e31ace2a86b6183b452/src/ld/Options.cpp#L488800:45:01
@reckenrode:matrix.orgRandy EckenrodeOr at least cherry-pick that patch until I can do it.00:45:41
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaok re hardening flag, if no one gets to fix it in a day or two, I may post a patch on weekend. I suspect I will make mistakes though. :) so feel free to beat me to it.00:45:57
@samasaur:matrix.orgsamasaurif the 26.0 source releases are out I can try and include that in my apple-sdk_26 PR00:50:28
@samasaur:matrix.orgsamasaur...the one i still haven't opened00:50:34
@reckenrode:matrix.orgRandy Eckenrode I was complaining about the source release updates in pkgs/os-specific/darwin/apple-source-releases. Those updates can be non-trivial. The SDK is just providing the sources. 00:59:23
@paparodeo:matrix.orgreno joined the room.01:00:51
@reckenrode:matrix.orgRandy Eckenrode
nix-repl> llvmPackages_21.clang
«derivation /nix/store/45l6x4prnm0fj9snbcaaknh5wbd5kxzj-clang-wrapper-21.1.2.drv»

nix-repl> (llvmPackages_21.override { }).clang
«derivation /nix/store/axdpznj47124az3zjf788fr3lsw7853m-clang-wrapper-21.1.2.drv»
01:06:52
@reckenrode:matrix.orgRandy EckenrodeThat doesn’t seem right.01:06:55
@samasaur:matrix.orgsamasaurah, gotcha01:07:50

Show newer messages


Back to Room ListRoom Version: 6