Nix on macOS | 1160 Members | |
| “There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org | 187 Servers |
| Sender | Message | Time |
|---|---|---|
| 29 Dec 2025 | ||
| I believe it's okay in C99+ so should be fine | 01:34:39 | |
| besides this select exhaustion issue, I have two more patches related to nixpkgs VMs running on darwin. These are waiting for reviews for quite a while. https://github.com/NixOS/nixpkgs/pull/440579 - keeping VM gcroots alive while VM is running (on Lix for now) fix dns resolution for some vpn scenarios; enabling local dns resolver for linux builder: https://github.com/NixOS/nixpkgs/pull/434893 | 02:06:41 | |
| emilycan you bonk https://github.com/NixOS/nixpkgs/pull/474675 for now? | 23:15:10 | |
| 30 Dec 2025 | ||
| so I'm not sure if this is actually a nix-related issue at all, but has anyone had problems with processes in the terminal just kinda hanging up after a while? Specifically it happens with the fish shell from nixpkgs, it simply gets stuck forever during launching it, not even lldb can pause or kill the process | 06:18:40 | |
| on macOS 26.2 | 06:19:01 | |
| it's kinda the same symptoms as on linux when you get I/O errors that cause processes to become stuck and completely unkillable | 06:28:02 | |
How can I get foot.terminfo into darwin? | 16:14:48 | |
| I'm getting a weird error: Any ideas? | 18:58:07 | |
| The
| 19:00:15 | |
| * The
| 19:00:34 | |
| don't really have any idea how to debug it, the error seems to come from some underlying script that i don't know how to find | 19:25:51 | |
| can you share what you’re trying to build? | 19:30:17 | |
| let me tag a wip commit and submit then | 19:32:05 | |
| i forget bash’s behavior off the top of my head but the line thing might be a misnomer | 19:33:44 | |
| easier to tell if i can see the expression | 19:33:53 | |
| this is the change I'm doing, I will maybe revise whether I need that custom module system at all there for the builder (it's nice to set everything up exactly the same way as all my other modules), I don't think anything that is not enabled in my set of modules would do anything funny | 19:40:18 | |
| I'll try identify the change thta makes it break tomorrow, gotta run now | 19:41:43 | |
| why are you vendoring the whole linux builder stuff? | 19:42:50 | |
| i need specialArgs in there to use my own modules | 19:43:47 | |
| there is no way to pass those in the built-in builder | 19:44:53 | |
| * there is no way to pass those in the built-in builder maybe i'll just make an upstream patch to make those configurable | 19:45:37 | |
| * there is no way to pass those in the built-in builder maybe i'll just make an upstream patch to make those configurable instead | 19:45:48 | |
nix.linux-builder.config if you’re using nix-darwin, or pkgs.linux-builder.override (old: { modules = old.modules + [ … ]; }) otherwise | 19:46:42 | |
you can use _module.args | 19:47:20 | |
| sorry, that first part of the answer was superfluous | 19:47:55 | |
In reply to @winter:catgirl.cloudexcept i cannot pass my kdnConfig specialArg which i use to make OS/module-specific snippets and conditional imports | 19:48:11 | |
_module.args doesn’t fit your needs? | 19:48:47 | |
| no, it cannot be used for conditional imports and pre-resolving snippets | 19:49:27 | |
| ah. | 19:50:05 | |
if i add the non-existing config in mkIf it throws an error, so i need to use raw if on those | 19:50:17 | |