| 14 Nov 2025 |
| yoghurt joined the room. | 12:55:41 |
yoghurt | Hey I've been using nix on mac for a while and really enjoy it!
I just got a new mac and trying to follow the guide on installing nix-darwin from https://github.com/nix-darwin/nix-darwin seems to fail.
- I installed nix using the lix installer
- I get an error when i try to install nix-darwin
Here is the output if i run the command in step 2 of the README.md:
$ sudo nix run nix-darwin/nix-darwin-25.05#darwin-rebuild -- switch
warning: $HOME ('/Users/tje') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')
building the system configuration...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: file 'darwin' was not found in the Nix search path (add it using $NIX_PATH or -I)
This is a fresh macbook and i tried to follow the steps in the README.md so i'm not sure if I did something wrong or if the README is outdated.
| 13:05:30 |
niklaskorz | did follow the first step that is unfortunately collapsed by default? | 13:07:31 |
niklaskorz | * did you follow the first step that is unfortunately collapsed by default? | 13:07:34 |
niklaskorz | referring to "Step 1. Creating flake.nix" | 13:07:57 |
niklaskorz | or if you don't plan to use flakes, then the other instruction telling you to run sudo nix-channel --add first | 13:08:39 |
yoghurt | niklaskorz: Thank you. Your message leads me to my mistake. I did not create the /etc/nix-darwin folder but instead have my flake.nix in a different directory.
The fix was to run sudo nix run nix-darwin/master#darwin-rebuild -- switch --flake ~/darwin/#simple.
~/darwin/ is where I have my config.
| 13:20:07 |
niklaskorz | Nice! | 13:20:36 |
yoghurt | Do i understand it correctly or is step 3 kind of redundant in this guide? I have already run darwin-rebuild -- switch in step 2. 🙂 | 13:23:42 |
yoghurt | * Do i understand it correctly or is step 3 kind of redundant in this guide? I have already run darwin-rebuild -- switch in step 2. 🙂 (Referring only to the flakes install instructions) | 13:25:24 |
niklaskorz | oh yeah that's just meant to show how to apply new changes to your config^^ | 13:43:21 |
| Florian set a profile picture. | 18:41:04 |
| 15 Nov 2025 |
K900 | @Randy Eckenrode Mesa 25.3 is out with Kosmickrisp | 10:05:18 |
K900 | Can I leave setting that up to you | 10:06:00 |
Randy Eckenrode | Sure. | 11:31:55 |
Randy Eckenrode | Given the timing, I’ll get it building and make sure it can be used in preference to MoltenVK, but it won't be the default. That may happen for 26.05, but it probably depends on getting a few more of the macOS extensions implemented or for other projects to accommodate it (e.g., it doesn’t work with mpv right now). | 13:35:12 |
Randy Eckenrode | * | 13:37:35 |
niklaskorz | Randy Eckenrode: I'm preparing a treewide PR for removing obsolete instances of darwinMinVersionHook now | 19:09:12 |
niklaskorz | it's just a handful but qt6 is under them, so I'll probably split that commit into a separate staging PR | 19:09:38 |
WeetHet | Should this go into staging instead? https://github.com/NixOS/nixpkgs/pull/462017 | 19:34:10 |
K900 | Technically no | 19:34:50 |
K900 | Given the rebuild count | 19:34:53 |
K900 | But it might make sense to delay this until we have Kosmickrisp | 19:35:01 |
WeetHet | I don't know if gtk even supports kosmickrisp | 19:35:51 |
WeetHet | Their official page says to use moltenvk | 19:36:12 |
WeetHet | And it's better than using OpenGL anyways | 19:36:21 |
WeetHet | Can just update to use kosmickrisp when/if gtk supports it | 19:36:39 |
niklaskorz | I hope there is nothing to explicitly support | 19:42:22 |
WeetHet | Oh I'm dumb yeah | 19:42:34 |
niklaskorz | it'll just depend on loading the correct vulkan icd I suppose | 19:42:41 |