!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
29 Jan 2026
@reckenrode:matrix.orgRandy EckenrodeThe idea that updating the libc++ headers would break the Swift compiler hurts my head.17:54:05
@reckenrode:matrix.orgRandy EckenrodeOr maybe it’s that plus the hardening flags interacting badly for our 5.10.1 build.17:54:35
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI think folks on github refuted the hardening theory17:54:58
@reckenrode:matrix.orgRandy EckenrodeThough that wouldn’t explain Linux.17:55:23
@ihar.hrachyshka:matrix.orgIhar Hrachyshkais linux crashing the same way17:55:49
@ihar.hrachyshka:matrix.orgIhar Hrachyshkathought it's darwin only (with swift-frontend burning)17:56:22
@samasaur:matrix.orgsamasaurLinux was already broken in a different way; unsure if this new issue affects it too18:12:56
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaif it's darwin.libcxx it just can't18:16:23
@eveeifyeve:matrix.orgeveeifyeve I am just building your update-branch. WIth nix build .#swift 18:16:28
@samasaur:matrix.orgsamasaur
In reply to @ihar.hrachyshka:matrix.org
if it's darwin.libcxx it just can't
yea. from a "solving this" standpoint I hope it is libcxx. from an "our shared sanity" standpoint I hope it isn't
18:22:59
@ihar.hrachyshka:matrix.orgIhar Hrachyshkawhat would be the approach forward if we confirm the bump for libcxx is the problem? is it realistic to revert it while this is being fixed?18:23:34
@samasaur:matrix.orgsamasaurvendor the old version inside the swift directory?18:23:50
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaah right. the power of Nix :p18:24:20
@samasaur:matrix.orgsamasauractually that wouldn't work I think...18:26:18
@samasaur:matrix.orgsamasaurbc swift doesn't reference darwin.libcxx directly18:26:27
@samasaur:matrix.orgsamasaurit builds the LLVM one18:26:39
@samasaur:matrix.orgsamasaurso if libcxx broke something it's due to transitive behavior I think18:26:50
@ihar.hrachyshka:matrix.orgIhar Hrachyshka"just" build a second stdenv tree for swift?18:26:52
@samasaur:matrix.orgsamasaurdear god I hope not18:27:37
@samasaur:matrix.orgsamasaurmaybe try and track down which specific package is causing the transitive error?18:27:57
@samasaur:matrix.orgsamasaura dependency could have actually different behavior due to availability checking, if I understand correctly18:28:38
@samasaur:matrix.orgsamasaurand knowing what the actual difference is might help18:28:54
@samasaur:matrix.orgsamasaur
In reply to @samasaur:matrix.org
maybe try and track down which specific package is causing the transitive error?
not really sure how we'd do that though, since libcxx is in the stdenv so it affects ~all Darwin programs
18:30:23
@ihar.hrachyshka:matrix.orgIhar Hrachyshka
In reply to @eveeifyeve:matrix.org
Known issue: https://github.com/NixOS/nix/issues/11676
Fwiw this is not the same issue. I also hit this issue on another machine that is forced to run Microsoft Defender crap (also mentioned in that issue). But the machine where Swift was unpacking for 30m is different and the symptoms are not during eval.
18:40:51
@ihar.hrachyshka:matrix.orgIhar Hrachyshka* Fwiw this is not the same issue. I also hit this linked issue on another machine that is forced to run Microsoft Defender crap (also mentioned in that issue). But the machine where Swift was unpacking for 30m is different and the symptoms are not during eval.18:42:13
@reckenrode:matrix.orgRandy EckenrodeIf it really is, we can override the one in the stdenv to use the libc++ from the 15.5 SDK.19:01:45
@crushing-smite:matrix.orgcrushing-smiteAre there any solutions for declarative network management on mac with nix?21:55:59
@samasaur:matrix.orgsamasaur
In reply to @crushing-smite:matrix.org
Are there any solutions for declarative network management on mac with nix?
nix-darwin can do some network management. Depends on what exactly you're trying to do
22:05:58
@ihar.hrachyshka:matrix.orgIhar Hrachyshkathere's also https://github.com/nix-darwin/nix-darwin/pull/165722:06:38
@samasaur:matrix.orgsamasaurack more for me to review 😅22:08:53

Show newer messages


Back to Room ListRoom Version: 6