!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1165 Members
โ€œThere are still many issues with the Darwin platform but most of it is quite usable.โ€ โ€” http://yves.gnu-darwin.org187 Servers

Load older messages


SenderMessageTime
29 Jan 2026
@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
@crushing-smite:matrix.orgcrushing-smiteCreate a virtual network interface, e.g. a bridge22:13:14
@crushing-smite:matrix.orgcrushing-smiteCreate a wireguard connection22:13:22
@crushing-smite:matrix.orgcrushing-smiteSpecify that bridge should connect to upstream internet only via wireguard22:13:46
@crushing-smite:matrix.orgcrushing-smitePretty nice, esp. it's very recent22:14:32
@crushing-smite:matrix.orgcrushing-smiteWould that serve my above request?22:14:38
@ihar.hrachyshka:matrix.orgIhar Hrachyshkawhat's the use case? isolating a service in a "namespace"?22:15:32
@crushing-smite:matrix.orgcrushing-smitemicrovms (via microvm.nix) connect to that bridge (and that's the only possibility with vfkit) for internet. could have an automatic proxy there.22:16:44
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI think the nix-darwin PR I linked doesn't go that far but maybe it's a start to build bridge management on top.22:17:16
@crushing-smite:matrix.orgcrushing-smiteWhat does it currently do though? I've skimmed through, but I lack experience to tell at a glance.22:19:05
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaconfigure dns, ips, routes, mac address... basic connectivity.22:21:44
@ihar.hrachyshka:matrix.orgIhar Hrachyshka Austin Horstman: fyi hydra built a new firefox-unwrapped 23:35:45

Show newer messages


Back to Room ListRoom Version: 6