!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
3 Feb 2026
@niklaskorz:matrix.orgniklaskorzwell at least it looks like it never worked on darwin, nobody tested it when llvm 22 was added two weeks ago14:32:06
@niklaskorz:matrix.orgniklaskorzdoing some more digging into why the dylib might be missing14:35:07
@reckenrode:matrix.orgRandy EckenrodeIt hasn’t been installed yet.14:52:23
@reckenrode:matrix.orgRandy Eckenrode Tests need some aDYLD_LIBRARY_PATH hackery to run in checkPhase. 14:52:50
@niklaskorz:matrix.orgniklaskorz I see, question is if it's worth patching the test to keep just DYLD_LIBRARY_PATH instead of clearing the whole environment, or skip it entirely 15:02:24
@niklaskorz:matrix.orgniklaskorz(the test has been newly added in LLVM 22)15:03:17
@reckenrode:matrix.orgRandy Eckenrode * Tests need some DYLD_LIBRARY_PATH hackery to run in checkPhase. 15:03:23
@reckenrode:matrix.orgRandy EckenrodeI take it the test doesn’t use the existing test runner? I ran into this with Swift’s LLVM too.15:04:13
@niklaskorz:matrix.orgniklaskorzThe test itself isn't the problem, but it tries to execute a binary with an empty environment on purpose15:18:39
@niklaskorz:matrix.orgniklaskorzso that binary will need to receive DYLD_LIBRARY_PATH somehow15:18:52
@niklaskorz:matrix.orgniklaskorz we could patch https://github.com/llvm/llvm-project/blob/d6211b112fa75fb5aa0bcd3885d3c9c36f4deece/llvm/unittests/Support/ProgramTest.cpp#L695-L696 to pass just DYLD_LIBRARY_PATH instead of ArrayRef<StringRef>{} 15:22:12
@reckenrode:matrix.orgRandy Eckenrode How does it work on Linux? Does Linux not need LD_LIBRARY_PATH, or does it set the rpath on the binary? 16:29:20
@niklaskorz:matrix.orgniklaskorz
In reply to @reckenrode:matrix.org
How does it work on Linux? Does Linux not need LD_LIBRARY_PATH, or does it set the rpath on the binary?
Good question, I'll check tomorrow
20:43:15
4 Feb 2026
@tiferrei:tiferrei.comtiferrei changed their profile picture.03:03:20
@tiferrei:tiferrei.comtiferrei left the room.14:28:35
@niklaskorz:matrix.orgniklaskorzon hold because I reproducibly end up with a segmentation fault when trying to build LLVM 22 on Linux 🤔16:09:49
@niklaskorz:matrix.orgniklaskorzbut it passes on hydra, so I'll try another machine16:10:27
@niklaskorz:matrix.orgniklaskorzstill inclined to just skip this test on darwin as it was only added to test a windows quirk16:13:59
5 Feb 2026
@jarver:sunacchi.xyzjarver joined the room.06:02:51
@achmadmahardi:matrix.orgAchmad Mahardi joined the room.07:46:53
6 Feb 2026
@samemrecebi:vivius.iosamemrecebi joined the room.00:08:29
@vcunat:matrix.orgvcunat

Hi. We have weird regressions on aarch64-darwin again. In log I see

XprotectService: [com.apple.xprotect:xprotect] File /nix/store/m5q1xl33fmnmxrfmipq8aqzlr8f0b4ln-texlive-bin-2025-kpathsea/bin/kpsewhich
 failed on loadCmd /nix/store/8829nnvx1kfrv63qc0yv838ppwhmny35-texlive-bin-2025/lib/libkpathsea.6.dylib (loadCmd resolved to: /nix/store/8829nnvx1kfrv63qc0yv838ppwhmny35-texlive-bin-2025/lib/libkpathsea.6.dylib, bundleURL: 
(null))
11:05:04
@vcunat:matrix.orgvcunatIs that - what was it - non-deterministic failures to correctly sign the exe/lib?11:06:31
@vcunat:matrix.orgvcunat* Is that - what was it - non-deterministic failures to correctly sign the exe/lib again?11:06:35
@vcunat:matrix.orgvcunat (for reference, this is on the current staging-next-25.11 branch, and x86_64-darwin seems fine on the same build) 11:07:49
@vcunat:matrix.orgvcunat Apparently it can be worked around by changing the hash to force a rebuild (of the successful texlive-bin-2025 build), so let me do that for now. 11:24:20
@vcunat:matrix.orgvcunat * Apparently it can be worked around by changing the hash to force a rebuild (of the successful texlive-bin-2025 build), so let me do that for now in 1e6c61a5a473. 11:27:06
19 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".19:22:35
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".19:22:35
@0x4a6f:matrix.org[0x4A6F] joined the room.19:23:06

Show newer messages


Back to Room ListRoom Version: 6