Nix on macOS | 1195 Members | |
| βThere are still many issues with the Darwin platform but most of it is quite usable.β β http://yves.gnu-darwin.org | 199 Servers |
| Sender | Message | Time |
|---|---|---|
| 25 Mar 2026 | ||
| So uh, did it work | 06:36:05 | |
| still cowabunging, I gave up initially after spotting three stdenv-darwin rebuilds in my staging build graph (in other news, fork has been found in kitchen π) | 09:56:18 | |
| Probably would have been easier to rebase on mater | 09:56:47 | |
| * Probably would have been easier to rebase on master | 09:56:48 | |
| Actually let me do that and throw it at the community builder | 09:56:54 | |
| that is precisely what I have done :) nixpkgs-review is running rn | 09:56:59 | |
* that is precisely what I have done :) nixpkgs-review is running rn with rev HEAD after the rebase | 09:57:07 | |
| Ok, so it seems like I volunteered for cleaning up xcbuild. I've removed some cases where it's not needed, reimplemented actool, plutil and PlistBuddy which are slowly going through the system. The only small thing left will be xcrun... Then there's xcodebuild and the question of whether swift-build covers it. Then we should be mostly free from xcbuild and more compatible with "random things out there" via a few smaller, independent projects. But I wanted to check with people with more experience - am I underestimating/missing something in that plan? @reckenrode:matrix.org ? Or is there someone I should be talking to to not step on their toes with these changes? | 12:32:51 | |
Seeing how well Swift Build can replace xcbuild is a post-Swift activity. It would be done as a replacement hook for xcbuildHook rather than as a replacement xcodebuild itself. | 12:46:32 | |
| I am staying out of the reviews of those other tools because I have no enthusiasm for vibe-coded applications. Someone else can review those. | 12:49:27 | |
I would rather fork xcbuild just for xcrun (or create a separate derivation that builds only that) than wholesale replace it since what we have basically works. Where it has problems are due to patches we apply. Those should be adjusted to work better for mixed workflows. | 12:50:03 | |
| That's great to know. I haven't looked into / had direct experience with xcrun yet, so that's good news. It does seem like a very limited scope with not much that can go wrong. | 12:55:59 | |
| I'll continue with the tools created so far. After that gets integrated, xcbuild usage indeed should be limited to only things that already work well. | 13:02:21 | |
| anyone here knows how to pin a cask when using brew-nix? i use it to install bitwig studio (a DAW) but my license only covers up to bitwig 5, and the cask has been updated to bitwig 6 i bisected the repository containing the casks and found the last commit where it was still bitwig 5 but im not sure where to go from there brew-nix gives you a nix-darwin module that just provides an overlay that adds | 16:37:37 | |
is it possible to override the module/overlay somehow to rename brewCasks to something like brewCasksBitwig5??
or could i somehow skip the module/overlay? i tried to but when applying the config it gets stuck at "installing_mac" or something | 16:39:40 | |
looks like it also exposes a packages output | 17:20:34 | |
| so you can pick that one package out of there | 17:20:37 | |
| ah yes i tried that wait cuz im back on my laptop now | 17:20:53 | |
(tbh, the overlay doesn't even overlay on top of pkgs properly so I'd just use the packages output in general π
) | 17:21:00 | |
in my home.packages i tried to add inputs.brew-nix-bitwig5.packages.aarch64-darwin.bitwig-studiobut when i try to darwin-rebuild, it gets stuck like that: | 17:24:15 | |
| (i think the warnings can be ignored cuz i always got the same before) | 17:24:37 | |
| looks like it's just downloading | 17:24:39 | |
| (slowly, probably) | 17:24:43 | |
you can pass -L to see the full output | 17:24:54 | |
| oh let me try | 17:25:02 | |
oh wait, with -L i can see the URL | 17:26:06 | |
| what if bitwig is just evil and the servers just don't serve | 17:26:28 | |
| okay yeah looks like its just slow as shit, but the URL itself works when i try to download from the web browser so | 17:27:26 | |
looks like its simply telling me to get a better connection | 17:28:09 | |
| IT WORKED I THINK | 17:28:34 | |