!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1199 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org200 Servers

Load older messages


SenderMessageTime
24 Mar 2026
@oscarvarto:matrix.orgOscar 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
@matthewahiles:matrix.orgMatthew Hiles I'm experiencing the same, no better workaround though 02:03:17
@viraptor:tchncs.deviraptor @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:tchncs.deviraptor(overall I'm aware of xcbuild being very incomplete and abandoned)04:31:13
@reckenrode:matrix.orgRandy EckenrodeApple has released Swift Build, which is their implementation used by Xcode.10:48:37
@k900:0upti.meK900 So has anyone tested the Qt 6.11 PR? 10:52:34
@reckenrode:matrix.orgRandy Eckenrode * 10:54:25
@viraptor:tchncs.deviraptorInteresting! I guess that leaves just the random utilities that never got published, like PlistBuddy that would be missing.11:16:57
@benjaminsparks:chat.alugha.appBen Sparksthe fix has already been merged.11:53:27
@benjaminsparks:chat.alugha.appBen Sparks25.11: https://github.com/NixOS/nixpkgs/pull/502832 master: https://github.com/NixOS/nixpkgs/pull/50276911:54:15
@benjaminsparks:chat.alugha.appBen Sparks ⚠ LEGO_ISLANDI.ISO failed with exit code 1 after ⏱ 2s
sorry, gonna have to reject /s
12:15:27
@k900:0upti.meK900Are you trying to nixpkgs-review it12:15:53
@k900:0upti.meK900Because uhhh12:15:55
@k900:0upti.meK900Good luck with that I guess12:15:57
@benjaminsparks:chat.alugha.appBen SparksI'm on darwin, should be a bit more limited than Linux (<500 rebuilds)12:16:31
@k900:0upti.meK900Oh I know, I'm just saying Qt is a big build and on Darwin it explodes if you look at it wrong12:17:03
@benjaminsparks:chat.alugha.appBen Sparkscowabunga it is12:21:24
@zaphar_ps:matrix.org@zaphar_ps:matrix.org left the room.15:10:32
25 Mar 2026
@k900:0upti.meK900 So uh, did it work 06:36:05
@benjaminsparks:chat.alugha.appBen Sparksstill 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:0upti.meK900Probably would have been easier to rebase on mater09:56:47
@k900:0upti.meK900* Probably would have been easier to rebase on master09:56:48
@k900:0upti.meK900Actually let me do that and throw it at the community builder09:56:54
@benjaminsparks:chat.alugha.appBen Sparksthat is precisely what I have done :) nixpkgs-review is running rn09:56:59
@benjaminsparks:chat.alugha.appBen Sparks * that is precisely what I have done :) nixpkgs-review is running rn with rev HEAD after the rebase 09:57:07
@viraptor:tchncs.deviraptor 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
@reckenrode:matrix.orgRandy 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
@reckenrode:matrix.orgRandy EckenrodeI 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
@reckenrode:matrix.orgRandy 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:tchncs.deviraptorThat'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

Show newer messages


Back to Room ListRoom Version: 6