!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
10 Apr 2026
@reckenrode:matrix.orgRandy EckenrodeI did just confirm though that SwiftPM 5.10.1 supports putting packages in editable mode. That’s how I’m vendoring dependencies. I want to land the breaking stuff for the release, then I can work on the Swift 6.x update.04:59:11
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/pull/508474 definitely has no rebuilds on either Darwin or Linux.05:17:45
@jyap:matrix.orgjyap joined the room.19:46:58
@jyap:matrix.orgjyap

so the latest macos tahoe 26.4 seems really hostile now to built CLI apps. they don't even run for testing.

is there a solution for this where the command is just killed by the OS?

e.g.

       > _________________ ERROR collecting ffmpeg/tests/test_ffmpeg.py _________________
       > ffmpeg/tests/test_ffmpeg.py:29: in <module>
       >     subprocess.check_call(['/nix/store/6a5nr567sb4a36lisa6gydpp3bfij1vv-ffmpeg-8.0-bin/bin/ffmpeg', '-version'])
       > /nix/store/h3l9h1vmbzvgs4x1ffl0pqbmzhlk89yl-python3-3.13.12/lib/python3.13/subprocess.py:419: in check_call
       >     raise CalledProcessError(retcode, cmd)
       > E   subprocess.CalledProcessError: Command '['/nix/store/6a5nr567sb4a36lisa6gydpp3bfij1vv-ffmpeg-8.0-bin/bin/ffmpeg', '-version']' died with <Signals.SIGKILL: 9>.
19:48:05
@reckenrode:matrix.orgRandy EckenrodeProbably https://github.com/NixOS/nixpkgs/issues/208951. It’s concerning the problem seems to be getting worse.19:50:07
@jyap:matrix.orgjyapthanks, i'll take a look19:52:32
@jyap:matrix.orgjyapyeah it's similar to this issue where the fix is to disable tests https://github.com/NixOS/nixpkgs/issues/50753119:58:05
11 Apr 2026
@reckenrode:matrix.orgRandy EckenrodeWhy can’t anything link when using the 26.4 SDK?00:43:03
@reckenrode:matrix.orgRandy EckenrodeOh, crap.00:44:20
@reckenrode:matrix.orgRandy EckenrodeApple dropped arm64 support.00:44:25
@reckenrode:matrix.orgRandy EckenrodeThe stubs only support arm64e.00:44:34
@reckenrode:matrix.orgRandy EckenrodeWell, some of them only support it. libc++ still supports arm64, which may be a mistake.00:47:03
@reckenrode:matrix.orgRandy EckenrodeUgh, this sucks.00:47:06
@reckenrode:matrix.orgRandy EckenrodeIs our SDK unpacking mangling the stubs? That somehow seems worse.00:53:10
@reckenrode:matrix.orgRandy EckenrodeNo, doesn’t look like.01:00:44
@reckenrode:matrix.orgRandy Eckenrode * 01:00:50
@emilazy:matrix.orgemilywait, what? wasn't the arm64e ABI not stable before?01:02:19
@emilazy:matrix.orgemilyisn't it more likely that they just merged the symbol lists into one or something?01:02:28
@reckenrode:matrix.orgRandy EckenrodeIt was stabilized in macOS 26.01:05:11
@reckenrode:matrix.orgRandy EckenrodeMany of the 26.4 headers do not include arm64-macos in the list of targets.01:05:28
@emilazy:matrix.orgemilybut you can target way back with the macOS 26 SDK, right? 🤔01:05:37
@emilazy:matrix.orgemilymaybe we just need to switch to arm64e01:05:48
@reckenrode:matrix.orgRandy EckenrodeUpstream LLVM doesn’t have all the changes needed to support it. In particular, you need to set the ABI version, which it doesn’t support.01:06:13
@reckenrode:matrix.orgRandy EckenrodeThere’s work in progress to add support, but it’s not something we could use now.01:06:31
@reckenrode:matrix.orgRandy Eckenrode Somehow Xcode’s clang can link against arm64 without its being listed as a target. I don’t know how it’s doing that. Apple hasn’t released updated tapi sources for Xcode 26. I’m trying to see if maybe there are un-upstreamed LLVM TextAPI changes. 01:07:37
@emilazy:matrix.orgemilyI'm wondering if you can just duplicate the arm64e symbols for arm64 and it will all happen to work01:08:38
@reckenrode:matrix.orgRandy EckenrodeProbably, but that will involve doing some post-processing on every tbd file.01:09:02
@reckenrode:matrix.orgRandy EckenrodeAnd not all of them have this issue. libc++.tbd notably does not, which is how I was able to fully bootstrap with the 26.4 libc++ headers and stubs without encountering this issue.01:09:34
@emilazy:matrix.orgemilyjust like old times :)01:09:41
@reckenrode:matrix.orgRandy Eckenrode * And not all of them have this issue. libc++.tbd notably does not, which is how I was able to fully bootstrap with the 26.4 libc++ headers and stubs without encountering this issue. 01:09:43

Show newer messages


Back to Room ListRoom Version: 6