Nix on macOS | 1147 Members | |
| “There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org | 182 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Dec 2025 | ||
I think I managed to revert the optimizer changes that cause this failure. The optimization pass moved to Swift, which broke the C++ bootstrap compiler. There have been some workarounds done in the Swift stdlib, but those don’t help when dealing with SDK swiftinterface files that have the same constructs. | 05:17:05 | |
| I am so happy I don’t have to rebuild LLVM every time while working on this …. | 05:17:48 | |
| Dammit, no. Let’s see if reverting the change in the stage 1 compiler works. | 05:19:18 | |
| It built! That’s a Swift compiler that supports macros, which should let it build the full compiler and SwiftPM. | 05:36:58 | |
| Unfortunately, install phase failed. I’ll fix that tomorrow. | 05:37:05 | |
| Redacted or Malformed Event | 05:42:46 | |
| Redacted or Malformed Event | 05:43:35 | |
| I'm getting these, when trying to build dovecot after a nixpkgs upgrade:
Package version hasn't been updated in ages. I can see that the SDK was updated. Last time it successfully build I was using | 05:55:30 | |
| There was also a change to enforce availability annotations. | 15:08:42 | |
| But the missing symbols appear to be internal to Dovecot. Something in its build is getting confused. | 15:09:11 | |
| fwiw there is a “mostly done just needs a little polish” update to 2.4 or whatever and I’m already using it | 20:40:34 | |
| this is the PR, if you want to see if it works for you: https://github.com/NixOS/nixpkgs/pull/410912 I do have my own changeset that I run on my server that has diverged a bit but only in the nixos module so it shoulndn’t be necessary here | 20:48:55 | |
| 4 Dec 2025 | ||
| It’s amazing that Apple managed to successfully compile Swift 6.2 for release with Xcode. I got a bootstrap compiler to build with macros enabled. It crashes building the Swift Compiler Driver. | 00:52:54 | |
Why would nativeBuildInputs use the dev output of a derivation? | 02:11:10 | |
Oh, I need to fixup nix-support. | 02:20:39 | |
| 04:48:13 | |
| 04:50:31 | |
| That looks really familiar. I swear I fixed something like this before. | 04:50:41 | |
| https://github.com/swiftlang/swift/pull/77780, but shouldn’t that be in Swift 6.2? | 05:09:55 | |
| hmm I had aerospace and jankyborders through nix-darwin, I'm considering moving to hm so I can see the config and maybe get stylix support, I disabled the service on nix-darwin and yet even after telling me the packages were uninstalled, it is launching on login, jankyborders and all, am I assuming wrong that I don't need to do manual cleanup? | 05:12:13 | |
| I can still see the daemons in ~/Library/LaunchAgents | 05:14:32 | |
| maybe it's a bug? while removing them it did ask show they were write-protected, but I didn't have to sudo or anything | 05:16:07 | |
| 16:41:41 | ||
| Hi! A user for a flake of mine uses macOS. Unfortunately I don't own a Mac, so I have no idea of the nix-darwin ecosystem. They get this error when running an activation script.
| 17:15:28 | |
| nativeBuildInputs & buildPhase:
| 17:15:45 | |
| Anybody got an idea what the problem here could be? | 17:15:55 | |
| https://github.com/NixOS/nixpkgs/issues/461884 fix will come in the next 1.5 weeks probably | 17:16:56 | |
| ah okay! I thought those landed already, thanks! | 17:18:16 | |
| As nobody built something else, they need a full stdenv rebuild on darwin | 17:18:52 | |
| ah! I see | 17:19:08 | |