!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1182 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
18 Jan 2026
@reckenrode:matrix.orgRandy EckenrodeWe ran into it with something else last year.20:27:34
@isabel:isabelroses.comisabel changed their profile picture.20:43:37
19 Jan 2026
@reckenrode:matrix.orgRandy Eckenrodehttps://bugs.gentoo.org/95094300:23:02
@reckenrode:matrix.orgRandy EckenrodeI tried to reproduce the failure interactively, but I failed. The Gentoo bug report suggests it doesn’t happen every time.00:48:23
@reckenrode:matrix.orgRandy EckenrodeThose are always fun to debug.00:48:32
@reckenrode:matrix.orgRandy EckenrodeI kept restarting the build. It eventually built. 🤪01:11:51
@jeanreswanepoel:matrix.orgJeanre Swanepoel joined the room.07:22:07
@jeanreswanepoel:matrix.orgJeanre Swanepoelmorning all, I am redoing my nix config, but I am thinking about system packages vs home-manager packages07:22:35
@bl1nk:matrix.orgbl1nk changed their profile picture.10:39:33
@reckenrode:matrix.orgRandy Eckenrode Maybe need to use sudo not to use the daemon? 😬 17:24:35
@reckenrode:matrix.orgRandy EckenrodeMoving the Swift discussion back to here. It’s not clear why the cc-wrapper changes would be an issue on Linux but not Darwin. Is it something to do with how Swift is vendoring its own custom copy?20:10:09
@reckenrode:matrix.orgRandy EckenrodeI’m not exactly sure what to do about the libstdc++ breakage though. That’s going to block any work on Linux support even if I don’t use GCC to build Swift on Linux.20:10:58
@saiko:knifepoint.netKatalin 🔪 what's the libstdc++ breakage? 20:11:31
@samasaur:matrix.orgsamasaurhttps://github.com/NixOS/nixpkgs/pull/46879620:12:40
@saiko:knifepoint.netKatalin 🔪 ah, this is 5.10 20:13:40
@saiko:knifepoint.netKatalin 🔪 could always build it with its libc++ or against compatible mainline libc++ :^) 20:14:44
@samasaur:matrix.orgsamasauryeah20:14:45
@samasaur:matrix.orgsamasaur* yeah (to 5.10)20:15:27
@saiko:knifepoint.netKatalin 🔪 though ime that's sorta broken on 5.10, or at least I didn't get it to work when I built 5.10 for bootstrapping 6.x on gentoo 20:15:30
@samasaur:matrix.orgsamasaurthe new issue is that 5.10 is failing on darwin now with a crash in the bootstrapped swiftc20:16:13
@samasaur:matrix.orgsamasauron staging-next20:16:27
@reckenrode:matrix.orgRandy EckenrodeI think libstdc++ is the intended C++ stdlib on Linux. If we built against libc++, we couldn’t interop with anything in the default package set.20:16:40
@reckenrode:matrix.orgRandy EckenrodeSwift can’t target multiple C++ implementations for interop. You have to pick one when building the compiler.20:17:32
@saiko:knifepoint.netKatalin 🔪 yeah', that's true. I thought about having a swiftStdenv of some kind which would select the correct compiler/STL but you would still have to compile packages you wanted to use from swift with that. so yeah. not ideal. scratch that 20:19:12
@reckenrode:matrix.orgRandy EckenrodeGiven that Swift is broken upstream by GCC 15, I may just land working Darwin support with enough Linux to get to the point of failing.20:19:18
@reckenrode:matrix.orgRandy EckenrodeThat’s how it is today (but for other reasons).20:20:04
@reckenrode:matrix.orgRandy Eckenrode I do provide a swiftPackages.stdenv in the rewrite, but it’s just a clangStdenv because I’m not even wasting my time building with GCC. 20:20:28
@samasaur:matrix.orgsamasaurthat would be great (from my end at least), given that the existing upstream 5.10 is in maintenance mode only so to speak20:20:56
@reckenrode:matrix.orgRandy EckenrodeI could also make Swift propagate Clang and support regular stdenvs. I’m not super thrilled about that, but it would avoid misuse.20:21:02
@saiko:knifepoint.netKatalin 🔪 yeah, and for bidirectional interop you do need clang anyway 20:21:06

Show newer messages


Back to Room ListRoom Version: 6