Nix on macOS | 1235 Members | |
| “There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org | 207 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Jun 2026 | ||
| I’ve heard people say the same about cross compiling to MSVC windows, but with the windows sdk headers I was able to build it so I thought maybe it’s the same case here | 16:11:27 | |
| We’re not really set up for it right now. That could change if we switch to LLD and LLVM binutils, but that’s low down on the priority list of things to do. | 16:12:43 | |
| Gotcha, perhaps to speed run I can try packaging it on my own and see if it work then | 16:13:18 | |
| Thanks for the quick replies! | 16:13:24 | |
| I got Wine to build. It doesn’t work. I tried adding the entitlements discussed at https://x.com/Lina_Hoshino/status/2046437088997130488, but macOS kills the process saying they’re restricted. I even signed with my developer certificate instead of an ad hoc signature. I didn’t try disabling SIP, but I don’t think any option that requires disabling SIP is viable. | 18:00:26 | |
| Is there a blessed way of shipping macos launchd agents and binaries with nix, or is it best to just follow apple's instructions for installers? | 20:13:03 | |
| For non-nix users* | 20:15:15 | |
| 15 Jun 2026 | ||
| I will probably push my Wine cleanups later today, but here are a couple of fixes I needed along the way:
| 13:30:50 | |
| this is just a sandbox on darwin issue, right? (from nixpkgs-review-gha)
| 21:46:31 | |
| can't seem to reproduce locally, even though sandbox is enabled | 21:47:05 | |
ahh at some point i disabled sandbox on local machine. oof | 21:59:30 | |
| 23:54:34 | ||
| 23:57:13 | ||
| 16 Jun 2026 | ||
| Ihar Hrachyshka https://github.com/NixOS/nixpkgs/pull/532035#issuecomment-4713594147 | 00:11:53 | |
| hexa: only 25.11 or later branches too | 01:14:38 | |
| just 25.11 | 01:14:49 | |
| I'll check today | 01:18:25 | |
| hexa: i assume we don't want to bring a new apple sdk to this near-eol branch? we can revert the patch that adopted 26.4 sdk to enable some specific yubikey web auth path. Since it was broken in 151, no regression expected. | 03:31:34 | |
| does anybody have a sane process of debugging which policies need to be added to
and then proceeded to whitelist all matching policies. But on a subsequent rebuild, the tests continue to fail in the sandbox despite adding them to | 08:03:34 | |
| I have even tried working backwards by tracing the log statement back to the underlying library: https://github.com/hickory-dns/hickory-dns/blob/f09321075b1f97902b7bc4ca4ffda7816fcf2971/crates/resolver/src/system_conf/apple.rs#L20-L21 But I can't make heads or tails on how to white list "State:/Network/Global/DNS" in sandboxProfile. I can't find any halfway decent documentation on | 08:07:25 | |
Add (allow (with report)) at the end of your profile and you'll see in the log what would be denied otherwise, but it won't get blocked. | 08:08:34 | |
I put that in sandboxProfile or you mean a custom .sb profile? | 08:09:48 | |
| I think you can do either... A custom profile will definitely work, can't remember the sandboxProfile behaviour. | 08:11:54 | |
| okay - will this query catch it?
| 08:13:00 | |
| I'm not near anything that can check. But you can start without filtering and then just narrow down to where the "allow" lines are coming from. | 08:20:22 | |
| There's a constant stream of sandbox allows and violations on a normal system, so you'll see them. | 08:20:50 | |
| seems it doesn't allow me to use
| 08:32:32 | |
Would this be enough? | 14:25:08 | |
| thanks, trying one last time with this and a more generic filter query:
I tried the I have | 16:44:54 | |
| 16:47:24 | ||