!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
3 Apr 2026
@reckenrode:matrix.orgRandy Eckenrode Lix uses $TMPDIR for dev shells. What is upstream Nix doing these days? (Though why would Hydra have dev shells?) 23:00:32
@hexa:lossy.networkhexasorry, I currently have lix on this box23:00:52
@reckenrode:matrix.orgRandy EckenrodeClang module cache.23:01:02
@hexa:lossy.networkhexafor reasons23:01:05
@emilazy:matrix.orgemily feel free to rm -rf /var/folders/*/*/C 23:01:09
@emilazy:matrix.orgemilyshould be safe23:01:17
@hexa:lossy.networkhexait's funny that all of them have a clang23:01:39
@emilazy:matrix.orgemilyand I'm guessing whatever used up the space there was one-off stuff rather than anything Nix builds are doing … oh … except … no sandbox23:01:41
@emilazy:matrix.orgemilyso maybe Clang builds are actually writing in there, haha23:01:45
@emilazy:matrix.orgemily perhaps we should point Clang at a different module cache dir in cc-wrapper or something 23:02:03
@hexa:lossy.networkhexayeah, no sandbox for darwin builds on hydra23:02:04
@emilazy:matrix.orgemily or maybe we can somehow override DARWIN_USER_CACHE_DIR 23:02:15
@emilazy:matrix.orgemilyfor builder users23:02:18
@emilazy:matrix.orgemily fwiw the cheap solution is probably just to do this in cron. probably with an extra /* at the end 23:08:26
@emilazy:matrix.orgemilyalso23:10:19
@samasaur:matrix.orgsamasaur could just remove /var/folders/* entirely, no? or at least remove the T at the same time 23:11:25
@emilazy:matrix.orgemily /var/db/diagnostics should be at least largely discardable I think (maybe sudo log erase --all will do it? I would be scared to just delete the files though). /var/db/SystemPolicyConfiguration I expect might be something funny about remembering Gatekeeper stuff for a trillion binaries from builds a day or something but that's just a guess. also completely separate but when comparing cores for base vs. pro CPUs remember that those 10 cores are split between P and E cores although Apple Silicon E cores are still plenty fast. 23:12:45
@emilazy:matrix.orgemily just e.g. if you divide it up 5 / 5 for big-parallel or something it might not be great 23:13:44
@reckenrode:matrix.orgRandy Eckenrode I think I have a fix for the dotnet crash on macOS 26.4. I’m building darwin.ICU with a custom version suffix for the icu namespace. Since the C++ API isn’t ABI stable anyway, this shouldn’t break anything. 23:13:59
@emilazy:matrix.orgemily should we maybe just expose the SDK ICU stubs? I think I've seen stuff call into it even before Tahoe. in general building stuff that the system frameworks can plausibly use seems like it's a lot of latent potential pain similar to the libc++ fun we have 23:15:12
@emilazy:matrix.orgemilyesp when we only use it for stuff that needs the weird Apple fork23:15:29
@reckenrode:matrix.orgRandy Eckenrode System ICU expects to read from /usr/share, which is a pain with the sandbox. 23:15:33
@reckenrode:matrix.orgRandy Eckenrode Also, Linux will need darwin.ICU for Swift. 23:15:44
@emilazy:matrix.orgemily though doesn't this imply that our own libxml2 will also clash? 🫠 23:15:49
@emilazy:matrix.orgemily (allow file-read* (subpath "/usr/share/locale")) 23:16:09
@emilazy:matrix.orgemilyIIRC it's been allowed for a long time23:16:33
@reckenrode:matrix.orgRandy Eckenrode ICU needs /usr/share/icu. 23:16:49
@hexa:lossy.networkhexaok, log erase --all might just go in a launchd timer23:17:12
@hexa:lossy.networkhexayeah, it's funny how greedy apple is with cores23:17:27
@hexa:lossy.networkhexahow else are we supposed to slice them up then?23:17:43

Show newer messages


Back to Room ListRoom Version: 6