!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
12 Nov 2025
@samasaur:matrix.orgsamasaurunsure how exactly that would happen though02:12:00
@jonhermansen:matrix.orgjonhermansenI really appreciate the help, thank you for taking a look. I'm glad it was just me that caused the problem 😆02:15:46
@samasaur:matrix.orgsamasaurno problem! glad you have a path forward!02:17:05
@jonhermansen:matrix.orgjonhermansenI'm taking your advice and will modify the darwin-store plist. I hope that the fact I have both /nix AND /nix/store is not a problem. wait4path may try to start nix-daemon too early... hmm02:17:58
@samasaur:matrix.orgsamasaur it's wait4path /nix/store i think so hopefully it's OK 02:18:19
@inayet:matrix.orgInayet changed their display name from inayet to Inayet.12:37:54
@niklaskorz:matrix.orgniklaskorzhttps://brew.sh/2025/11/12/homebrew-5.0.0/19:36:41
@niklaskorz:matrix.orgniklaskorz

Homebrew prefers LLVM’s clang over gcc on macOS.

they didn't before? wow

19:36:54
@toonn:matrix.orgtoonn GCC on macOS has been an alias for Clang for years, no? 21:47:29
@samasaur:matrix.orgsamasaurfrom the Xcode toolchain, yes21:50:49
@samasaur:matrix.orgsamasaurI guess that's referring to what happens when you have GCC and clang installed via homebrew and you install something that has to build from source?21:51:43
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/Homebrew/brew/pull/2069622:06:33
@reckenrode:matrix.orgRandy EckenrodeRedacted or Malformed Event22:06:55
@reckenrode:matrix.orgRandy Eckenrode * 22:08:29
@niklaskorz:matrix.orgniklaskorzhm do I understand correctly that Apple clang was already prio 1 and that LLVM clang refers to the non-Xcode variant?22:16:11
@reckenrode:matrix.orgRandy EckenrodeI think so. I don’t know how Homebrew handles specifying a compiler where Xcode doesn’t work. I can’t think of a situation where you would want to use upstream clang in lieu of Xcode if you actually have access to Xcode.22:17:36
@reckenrode:matrix.orgRandy EckenrodeMaybe to use some other libc++, but Xcode clang can probably use it.22:17:54
13 Nov 2025
@samasaur:matrix.orgsamasaurnewer language features, right?00:10:26
@reckenrode:matrix.orgRandy EckenrodeApple’s Clang is not that far behind upstream.00:18:42
@samasaur:matrix.orgsamasaurYeah i think that is rarely a long-term issue but I remember it being necessary for btop in macports00:30:58
@reckenrode:matrix.orgRandy Eckenrodebtop needed libc++ features that weren’t available until LLVM 16.00:33:04
@tao:beeper.comtao joined the room.05:27:51
@tao:beeper.comtaoHi I've been trying to debug an llvm build failure on macOS with a maintainer of the llvm package over on the nixpkgs GitHub repo. They insist the build failure is a result of an older nixpkgs I must be running but my flake pins nixpkgs to unstable. They suggested I pop over here to see if the community can help me. Here's the GitHub issue where we talk through the causes: https://github.com/NixOS/nixpkgs/issues/460725#issuecomment-3523848126 and here's my repo: https://github.com/worldofgeese/fleek-nix-darwin05:31:12
@niklaskorz:matrix.orgniklaskorzWhat Tristan was asking for in that issue is that you reduce the config to a very small one that still fails09:39:56
@niklaskorz:matrix.orgniklaskorzIt definitely is too much to expect from mantainers to build a 9gb darwin config to troubleshoot this issue09:40:19
@niklaskorz:matrix.orgniklaskorz(but I'm doing it right now nonetheless, which is why I know the size in the first place)09:40:51
@niklaskorz:matrix.orgniklaskorz* It definitely is too much to expect from maintainers to build a 9gb darwin config to troubleshoot this issue09:42:11
@niklaskorz:matrix.orgniklaskorzso yeah, it's your config, not an issue with nixpkgs09:48:09
@niklaskorz:matrix.orgniklaskorz

why did you add these in the first place:

  nix.enable = false;
  nixpkgs.hostPlatform = {
    config = "aarch64-apple-darwin";
    system = "aarch64-darwin";
  };
09:49:15
@niklaskorz:matrix.orgniklaskorz aarch64-apple-darwin is the wrong host triple 09:49:23

Show newer messages


Back to Room ListRoom Version: 6