| 24 Mar 2026 |
Oscar Vargas Torres | This is my current workaround:
# Overlays to fix package issues
overlays = [
# direnv 2.37.1 sets -linkmode=external but ships with CGO_ENABLED=0.
# Enable cgo so the external linker flag works. Remove once nixpkgs fixes it.
(final: prev: {
direnv = prev.direnv.overrideAttrs (old: {
env = (old.env or {}) // {CGO_ENABLED = "1";};
});
})
];
| 01:56:32 |
Matthew Hiles | I'm experiencing the same, no better workaround though | 02:03:17 |
viraptor | @emilazy:matrix.org at https://discourse.nixos.org/t/ibtool-replacement/55397/3 you mentioned the need to maintain/rewrite xcbuild. Could you tell me more about the pain points there? I already ran into the actool one and mostly addressed it, but I'm curious what's causing most issues in your experience. | 04:30:37 |
viraptor | (overall I'm aware of xcbuild being very incomplete and abandoned) | 04:31:13 |
Randy Eckenrode | Apple has released Swift Build, which is their implementation used by Xcode. | 10:48:37 |
K900 | So has anyone tested the Qt 6.11 PR? | 10:52:34 |
Randy Eckenrode | * | 10:54:25 |
viraptor | Interesting! I guess that leaves just the random utilities that never got published, like PlistBuddy that would be missing. | 11:16:57 |
Ben Sparks | the fix has already been merged. | 11:53:27 |
Ben Sparks | 25.11: https://github.com/NixOS/nixpkgs/pull/502832
master: https://github.com/NixOS/nixpkgs/pull/502769 | 11:54:15 |
Ben Sparks | ⚠ LEGO_ISLANDI.ISO failed with exit code 1 after ⏱ 2s sorry, gonna have to reject /s | 12:15:27 |
K900 | Are you trying to nixpkgs-review it | 12:15:53 |
K900 | Because uhhh | 12:15:55 |
K900 | Good luck with that I guess | 12:15:57 |
Ben Sparks | I'm on darwin, should be a bit more limited than Linux (<500 rebuilds) | 12:16:31 |
K900 | Oh I know, I'm just saying Qt is a big build and on Darwin it explodes if you look at it wrong | 12:17:03 |
Ben Sparks | cowabunga it is | 12:21:24 |
| @zaphar_ps:matrix.org left the room. | 15:10:32 |
| 25 Mar 2026 |
K900 | So uh, did it work | 06:36:05 |
Ben Sparks | 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 |
K900 | Probably would have been easier to rebase on mater | 09:56:47 |
K900 | * Probably would have been easier to rebase on master | 09:56:48 |
K900 | Actually let me do that and throw it at the community builder | 09:56:54 |
Ben Sparks | that is precisely what I have done :) nixpkgs-review is running rn | 09:56:59 |
Ben Sparks | * that is precisely what I have done :) nixpkgs-review is running rn with rev HEAD after the rebase | 09:57:07 |
viraptor | 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 |
Randy Eckenrode | 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 |
Randy Eckenrode | 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 |
Randy Eckenrode | 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 |
viraptor | 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 |