!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
3 Apr 2026
@emilazy:matrix.orgemily ok, /var/folders is temporary directories 22:57:45
@emilazy:matrix.orgemily(per-user etc.)22:57:55
@emilazy:matrix.orgemily so something is using crazy amounts of $TMPDIR 22:58:03
@hexa:lossy.networkhexait will be nix, right?22:58:13
@emilazy:matrix.orgemilyprobably not?22:58:20
@emilazy:matrix.orgemily Nix uses /tmp and /nix/var/nix/builds 22:58:24
@hexa:lossy.networkhexa
Download
22:58:28
@hexa:lossy.networkhexa
Download
22:58:40
@emilazy:matrix.orgemily you can get stuff in /var/folders running commands as a user, but it'd be pretty surprising for it to use up tons of space because of being a builder I feel 22:58:44
@hexa:lossy.networkhexauh, wanna hop on a quick call instead of spamming this room?22:58:50
@emilazy:matrix.orgemilyhonestly I should really be going to sleep rather than getting sniped by this 🫠22:59:17
@hexa:lossy.networkhexasplit brain on the spaces and many rooms I'm afraid. we need to upgrade them22:59:24
@samasaur:matrix.orgsamasaur what's that /clang in /var/folders/.../C? that's not temp files 22:59:32
@emilazy:matrix.orgemilybut that clang cache directory is very weird, kind of makes me think it's just some leftover garbage22:59:40
@emilazy:matrix.orgemily /C is caches iirc 22:59:56
@emilazy:matrix.orgemily

Provides the path to the user's cache directory. The directory will be created if it does not already exist. This directory is created with access permissions of 0700 and restricted by the umask(2) of the calling process and is a good location for user cache data as it will not be automatically cleaned by the system.

23:00:08
@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

Show newer messages


Back to Room ListRoom Version: 6