!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
28 Jan 2026
@ihar.hrachyshka:matrix.orgIhar 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:matrix.orgIhar Hrachyshkaas 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 smth22:19:54
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaok after ~30 mins unpacking and ~15 mins of churning through the sed command finally it's building... jeez22:23:58
@samasaur:matrix.orgsamasaurthat does unfortunately sound like a typical swift build22:35:58
@reckenrode:matrix.orgRandy EckenrodeThe new Swift stuff is much faster, but that doesn’t help here.22:37:07
@samasaur:matrix.orgsamasaurI imagine just taking the libcxx and LLVM out of the One Big Derivation helps a lot22:37:49
@ihar.hrachyshka:matrix.orgIhar Hrachyshkanice. 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
@reckenrode:matrix.orgRandy EckenrodeSome parts can also be done in parallel, and the default phase implementations are way faster at applying patches.22:39:04
@ihar.hrachyshka:matrix.orgIhar Hrachyshkahm. 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:matrix.orgIhar Hrachyshkanah it was swift-frontend (I also have some of these)22:52:43
@ihar.hrachyshka:matrix.orgIhar Hrachyshka

btw on a different machine...

swift> Running phase: unpackPhase
swift> unpackPhase completed in 30 seconds
22:54:50
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaso 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 be22:55:54
@samasaur:matrix.orgsamasaurOH i misread those times22:56:54
@samasaur:matrix.orgsamasauryeah that is way longer than i would expect22:57:05
29 Jan 2026
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/issues/483584#issuecomment-381393877303:51:32
@reckenrode:matrix.orgRandy 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
@reckenrode:matrix.orgRandy 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:matrix.orgdebtquity

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:matrix.orgeveeifyeve 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:matrix.orgeveeifyeve * 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:matrix.orgeveeifyeve * 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:matrix.orgeveeifyeve * 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
@eveeifyeve:matrix.orgeveeifyeveKnown issue: https://github.com/NixOS/nix/issues/1167610:38:24
@eveeifyeve:matrix.orgeveeifyeve* That is a known issue.10:39:08
@eveeifyeve:matrix.orgeveeifyeve* That is a known issue, no fix unfortantly.10:39:16
@eveeifyeve:matrix.orgeveeifyeveAlso what is the solution for multiple installations on nix-darwin where it installs a separate nix.10:45:36
@eveeifyeve:matrix.orgeveeifyeve* Also what is the solution for multiple installations on nix-darwin where it installs a separate nix?10:45:42
@eveeifyeve:matrix.orgeveeifyeve* Also what is the solution for multiple installations on nix-darwin, where it installs a separate nix?10:45:50
@eveeifyeve:matrix.orgeveeifyeve

Because at the moment I have one that is really old that I want to remove.

[FAIL] Multiple versions of nix found in PATH:
  "/nix/store/6dw415pr1q4h1lywp3y0z6zij7h9wrsf-nix-2.31.2/bin"
  "/nix/store/c20m7jl3x7a951sakyyfwngaxvlw7s63-nix-2.28.3/bin"
10:48:35
@eveeifyeve:matrix.orgeveeifyeve *

Because at the moment I have one that is really old that I want to remove, which is used by default.

[FAIL] Multiple versions of nix found in PATH:
  "/nix/store/6dw415pr1q4h1lywp3y0z6zij7h9wrsf-nix-2.31.2/bin"
  "/nix/store/c20m7jl3x7a951sakyyfwngaxvlw7s63-nix-2.28.3/bin"
10:49:21

Show newer messages


Back to Room ListRoom Version: 6