| 29 Jan 2026 |
samasaur | vendor the old version inside the swift directory? | 18:23:50 |
Ihar Hrachyshka | ah right. the power of Nix :p | 18:24:20 |
samasaur | actually that wouldn't work I think... | 18:26:18 |
samasaur | bc swift doesn't reference darwin.libcxx directly | 18:26:27 |
samasaur | it builds the LLVM one | 18:26:39 |
samasaur | so if libcxx broke something it's due to transitive behavior I think | 18:26:50 |
Ihar Hrachyshka | "just" build a second stdenv tree for swift? | 18:26:52 |
samasaur | dear god I hope not | 18:27:37 |
samasaur | maybe try and track down which specific package is causing the transitive error? | 18:27:57 |
samasaur | a dependency could have actually different behavior due to availability checking, if I understand correctly | 18:28:38 |
samasaur | and knowing what the actual difference is might help | 18:28:54 |
samasaur | 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 | 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 | * 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 |
Randy Eckenrode | If 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 | Are there any solutions for declarative network management on mac with nix? | 21:55:59 |
samasaur | 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 | there's also https://github.com/nix-darwin/nix-darwin/pull/1657 | 22:06:38 |
samasaur | ack more for me to review ๐
| 22:08:53 |
crushing-smite | Create a virtual network interface, e.g. a bridge | 22:13:14 |
crushing-smite | Create a wireguard connection | 22:13:22 |
crushing-smite | Specify that bridge should connect to upstream internet only via wireguard | 22:13:46 |
crushing-smite | Pretty nice, esp. it's very recent | 22:14:32 |
crushing-smite | Would that serve my above request? | 22:14:38 |
Ihar Hrachyshka | what's the use case? isolating a service in a "namespace"? | 22:15:32 |
crushing-smite | microvms (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 | I 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 | What does it currently do though? I've skimmed through, but I lack experience to tell at a glance. | 22:19:05 |
Ihar Hrachyshka | configure dns, ips, routes, mac address... basic connectivity. | 22:21:44 |
Ihar Hrachyshka | Austin Horstman: fyi hydra built a new firefox-unwrapped | 23:35:45 |