!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

You have reached the beginning of time (for this room).


SenderMessageTime
30 Jan 2026
@rosscomputerguy:matrix.orgTristan RossYes, it does appear that way11:58:03
@rosscomputerguy:matrix.orgTristan RossWhich imo, this should be at least a Darwin fix since that seems more critical11:58:18
@ihar.hrachyshka:matrix.orgIhar HrachyshkaSee my nixpkgs review dump there in a comment too. (Probably was an overkill to run the whole tree...) Once commit message is fixed, let's merge it. I didn't expect swift will be master admissible since it broke a lot for me personally.11:58:25
@rosscomputerguy:matrix.orgTristan RossA separate PR fixing swift on Linux should be fine.11:58:45
@rosscomputerguy:matrix.orgTristan RossOh great, it broke again12:04:14
@rosscomputerguy:matrix.orgTristan Ross
libc++abi: terminating due to uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
12:05:07
@rosscomputerguy:matrix.orgTristan RossIdk how it's got this issue when libc++ should be statically linked here fully.12:05:51
@rosscomputerguy:matrix.orgTristan Ross Do my buildInputs need the static libc++ derivation? 12:06:51
@reckenrode:matrix.orgRandy EckenrodeIt’s part of the stdenv.12:07:35
@reckenrode:matrix.orgRandy Eckenrode You can use otool -L to see whether it’s linking the system one. I can’t remember how libcxxStdenv is defined, but I thought it always used libc++ from Nixpkgs. 12:08:35
@reckenrode:matrix.orgRandy Eckenrode If you don’t have Xcode installed nix shell nixpkgs#llvmPackages.bintools-unwrapped --command llvm-otool -L IIRC. 12:09:30
@rosscomputerguy:matrix.orgTristan Ross

It still says:

/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1900.180.0)
12:09:31
@rosscomputerguy:matrix.orgTristan RossOh, libsandbox is also being included from the system huh12:10:28
@reckenrode:matrix.orgRandy Eckenrode You can try overriding the libcxx of the static stdenv’s unwrapped cc. 12:10:33
@reckenrode:matrix.orgRandy EckenrodeIs the package manually linking system libraries on its own somehow?12:11:01
@reckenrode:matrix.orgRandy EckenrodeThat mutex error is weird though. Does it work with LLVM 20+ on Linux?12:11:35
@rosscomputerguy:matrix.orgTristan RossSomewhat because crane isn't able to pick up the difference between host vs build packages for some reason12:11:38
@rosscomputerguy:matrix.orgTristan RossYesn't12:11:45
@rosscomputerguy:matrix.orgTristan RossThis does some very weird things like statically link nix12:12:10
@rosscomputerguy:matrix.orgTristan Ross(Yes nix, like libnix-flake-c and the various other libs)12:12:27
@rosscomputerguy:matrix.orgTristan RossLinux mostly works, aside from flakiness in the program's behavior12:13:03

Show newer messages


Back to Room ListRoom Version: 6