| 28 Jan 2026 |
samasaur | ah ha my build machine is back online! and the bisect finished! unfortunately it has pointed me to d4fd918e which has changes that are cygwin-only, so im gonna take a wild guess and say that it is not the commit causing the problem | 18:49:28 |
Ihar Hrachyshka | I'm still early in the process, at a point where every step rebuilds the world (as you shrink the diff, the chance is higher that the next step won't require a world rebuild). let's see who's first. :p | 18:52:32 |
Ihar Hrachyshka | swift> Running phase: unpackPhase
swift> unpackPhase completed in 28 minutes 11 seconds
is this... normal?
| 22:06:48 |
xored | swift strikes again | 22:13:30 |
Ihar Hrachyshka | I think it may be my old with the node where coreutils for some reason starts lagging | 22:15:03 |
Randy Eckenrode | It’s not fast. Swift unpacks itself, LLVM, etc. | 22:15:12 |
Ihar Hrachyshka | I see xargs ... sed now in patchPhase sitting for 10 mins+ patching | 22:15:21 |
Ihar Hrachyshka | I had it in the past where at random moments builds stalled. maybe the issue is back. | 22:15:52 |
Ihar Hrachyshka | lots of these in dmesg
[1476558.276431]: iterate_dirents_case_or_norm_insensitive:438: disk3s7 dirent hash chain iteration, dir_id 6242, hash 0x1c0f2e, count 20 [1476558.286126]: iterate_dirents_case_or_norm_insensitive:438: disk3s7 dirent hash chain iteration, dir_id 6242, hash 0x1c1a4c, count 20
| 22:19:11 |
Ihar Hrachyshka | as per the Expert (chatbot), "You have one or more directories with a huge number of entries that collide badly under APFS’s case-insensitive hashing.
Every lookup becomes O(n) instead of O(1), and the filesystem gets slow." wonder if it's tripping or onto smth | 22:19:54 |
Ihar Hrachyshka | ok after ~30 mins unpacking and ~15 mins of churning through the sed command finally it's building... jeez | 22:23:58 |
samasaur | that does unfortunately sound like a typical swift build | 22:35:58 |
Randy Eckenrode | The new Swift stuff is much faster, but that doesn’t help here. | 22:37:07 |
samasaur | I imagine just taking the libcxx and LLVM out of the One Big Derivation helps a lot | 22:37:49 |
Ihar Hrachyshka | nice. wonder if something can be done with it on APFS side, as the Expert suggested to use case-sensitive mode for nix store. | 22:37:56 |
Randy Eckenrode | Some parts can also be done in parallel, and the default phase implementations are way faster at applying patches. | 22:39:04 |
Ihar Hrachyshka | hm. I have some dyld sigsegvs in Console.app. maybe related to failed swift runs with the crash. was it dyld crashing? | 22:49:10 |
Ihar Hrachyshka | nah it was swift-frontend (I also have some of these) | 22:52:43 |
Ihar Hrachyshka | btw on a different machine...
swift> Running phase: unpackPhase
swift> unpackPhase completed in 30 seconds
| 22:54:50 |
Ihar Hrachyshka | so no, this is not normal that it takes 30 mins. Maybe it's COMMON that folks struggle over slow APFS nix store, but it's not the only way it can be | 22:55:54 |
samasaur | OH i misread those times | 22:56:54 |
samasaur | yeah that is way longer than i would expect | 22:57:05 |
| 29 Jan 2026 |
Randy Eckenrode | https://github.com/NixOS/nixpkgs/issues/483584#issuecomment-3813938773 | 03:51:32 |
Randy Eckenrode | There’s some progress in the issue. If that works, then along with the patch to fix libstdc++ support, I have a patch to fix -cxx-isystem support. | 03:52:42 |
Randy Eckenrode | * There’s some progress in the issue. If that works, then along with the PR to fix libstdc++ support, I have a patch to fix -cxx-isystem support. | 03:52:52 |
debtquity | is lib.file.mkOutOfStoreSymlink broken for anybody else?
I was using it in with home.file.source to symlink to a sops-nix secret. But seems all of the files are non-existent now.
| 05:14:24 |
eveeifyeve | Randy Eckenrode: 3hrs of building your swift 6 redone it's taken 3 hours so far and 200 builds still to go, done like 200 builds. | 10:08:21 |
eveeifyeve | * Randy Eckenrode: 3hrs of building your swift 6 redone it's taken 3 hours on my M3 macbook pro, so far and 200 builds still to go, done like 200 builds. | 10:08:42 |
eveeifyeve | * Randy Eckenrode: 3hrs of building your swift 6 redone it's taken 3 hours on my M3 macbook pro so far and 200 builds still to go, ive done like 200 builds. | 10:08:55 |
eveeifyeve | * Randy Eckenrode: 3hrs it's taken of building your swift 6 on my M3 macbook pro so far and 200 builds still to go, ive done like 200 builds. | 10:29:52 |