!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
2 Feb 2026
@reckenrode:matrix.orgRandy EckenrodeI expect prebuilts to be similarly bad.11:32:15
@reckenrode:matrix.orgRandy Eckenrode I understand now why the previously separate lib output was done the way it was. Swift does not really support finding host libs and .swiftmodules separately from the stdlib. 11:42:58
3 Feb 2026
@agar.mu:matrix.orgm.a.cups still works (at least for me). it ended up being a bit tedious to do it from my device though and i ended up setting a print server for myself on my university account. as such i don't have the bandwidth to continue working on this personally (thought it should be doable, and i might try to work on it over spring break)05:36:47
@agar.mu:matrix.orgm.a.* cups still works. it ended up being a bit tedious to do it from my device though and i ended up setting a print server for myself on my university account. as such i don't have the bandwidth to continue working on this personally (thought it should be doable, and i might try to work on it over spring break)05:36:55
@glepage:matrix.orgGaétan Lepage FYI, llvmPackages_22.llvm is broken on darwin. 14:18:33
@niklaskorz:matrix.orgniklaskorz one test failing: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteEmptyEnvironment 14:28:55
@niklaskorz:matrix.orgniklaskorz
/nix/var/nix/builds/nix-15173-3769289556/llvm-src-22.1.0-rc2/llvm/build/unittests/Support/./SupportTests --gtest_filter=ProgramEnvTest.TestExecuteEmptyEnvironment
--
dyld[8946]: Library not loaded: /nix/store/qr5yw8vvjaiq6x67zvj36gg9spbkkpc8-llvm-22.1.0-rc2-lib/lib/libLLVM.dylib
  Referenced from: <A561A548-9CCB-3735-87FE-26D09C29CF32> /nix/var/nix/builds/nix-15173-3769289556/llvm-src-22.1.0-rc2/llvm/build/unittests/Support/SupportTests
  Reason: tried: '/nix/store/qr5yw8vvjaiq6x67zvj36gg9spbkkpc8-llvm-22.1.0-rc2-lib/lib/libLLVM.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/nix/store/qr5yw8vvjaiq6x67zvj36gg9spbkkpc8-llvm-22.1.0-rc2-lib/lib/libLLVM.dylib' (no such file), '/nix/store/qr5yw8vvjaiq6x67zvj36gg9spbkkpc8-llvm-22.1.0-rc2-lib/lib/libLLVM.dylib' (no such file)
/nix/var/nix/builds/nix-15173-3769289556/llvm-src-22.1.0-rc2/llvm/unittests/Support/ProgramTest.cpp:704: Failure
Expected equality of these values:
  0
  RetCode
    Which is: -2


/nix/var/nix/builds/nix-15173-3769289556/llvm-src-22.1.0-rc2/llvm/unittests/Support/ProgramTest.cpp:704
Expected equality of these values:
  0
  RetCode
    Which is: -2
14:29:33
@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
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
@nbardiuk:matrix.orgnazarii joined the room.19:24:29
@casey:hubns.netcasey © joined the room.19:27:39
@elvishjerricco:matrix.orgElvishJerricco joined the room.19:38:47
@andi:kack.itandi- joined the room.19:39:40
@stick:matrix.orgstick joined the room.19:46:16
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.19:50:54

Show newer messages


Back to Room ListRoom Version: 6