!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
30 Jan 2026
@reckenrode:matrix.orgRandy EckenrodeOverriding the stdenv used by Rust is extremely annoying. It was one of the motivating reasons for how the new SDK pattern ended up as it did.12:48:58
@rosscomputerguy:matrix.orgTristan RossYeah, I'm using crane so it's at least easier to deal with some of these things12:50:02
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem changed their display name from matthewcroughan to matthewcroughan @fosdem.13:32:15
@brianhicks:matrix.org@brianhicks:matrix.org left the room.19:53:50
@ihar.hrachyshka:matrix.orgIhar Hrachyshka

Austin Horstman: in my local run, the biggest gap between messages in firefox build is:

[2026-01-29 22:40:51] firefox-unwrapped> make[3]: Leaving directory '/nix/var/nix/builds/nix-84991-1567875916/firefox-147.0.2/objdir/media/ffvpx/libavcodec'
[2026-01-29 23:22:13] firefox-unwrapped> /nix/var/nix/builds/nix-84991-1567875916/mozbuild/srcdirs/firefox-147.0.2-a7aea0efcd6d/_virtualenvs/build/bin/python -m mozbuild.action.check_binary ../../../dist/bin/XUL

42 minutes of silence :)

23:45:50
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaand this is right after "libavcodec" (we saw it as last message in some timed out runs)23:46:46
@ihar.hrachyshka:matrix.orgIhar Hrachyshkabrb adding a background noise generator that would print silly jokes once every 5 mins while firefox is doing lto...23:47:53
@ihar.hrachyshka:matrix.orgIhar Hrachyshkathe default hydra setting for silence is 2h; we are bumping it in meta.maxSilent to 4h but maybe it's ignored somehow. on a slower machine, it's probably not out of the ordinary for something taking 40 mins on a dedicated m4 machine to take 2h+ instead.23:52:50
@atakan:d12macera.comAtakan Dulker joined the room.23:53:12
31 Jan 2026
@hexa:lossy.networkhexais it? if you think so file an issue on the hydra repo00:25:52
@hexa:lossy.networkhexathe question I have is if we are making a mistake by configuring max-silent-time on nix on the builders instead00:27:31
@hexa:lossy.networkhexaand hydra can't override that00:27:35
@hexa:lossy.networkhexafrankly not sure what takes precedence00:27:49
@khaneliman:matrix.orgAustin Horstmanyeah, we were talking yesterday about trying to figure out the whole chain of defaults/overrides/priorities and how to resolve our issue lol 00:28:38
@khaneliman:matrix.orgAustin Horstmanhow long did your run take when you built it by itself? 00:34:20
@ihar.hrachyshka:matrix.orgIhar Hrachyshka
$ head -n 1 build.log ; tail -n 1 build.log
[2026-01-29 21:23:19] checking outputs of '/nix/store/bv412dcrijv03g2ww78g9fbwa4gggblf-firefox-unwrapped-147.0.2.drv'...
[2026-01-29 23:25:04] error: derivation '/nix/store/bv412dcrijv03g2ww78g9fbwa4gggblf-firefox-unwrapped-147.0.2.drv' may not be deterministic: output '/nix/store/6d74j4kykgaskhbkc1z21jycmqzzpb0m-firefox-unwrapped-147.0.2' differs
00:50:59
@khaneliman:matrix.orgAustin Horstmanhmm that seems super quick00:55:57
@khaneliman:matrix.orgAustin Horstmani went to go test the build time real quick 00:57:11
@khaneliman:matrix.orgAustin Horstmanimage.png
Download image.png
00:57:12
@ihar.hrachyshka:matrix.orgIhar Hrachyshkait's a m4 mac mini with 32gb ram00:57:14
@khaneliman:matrix.orgAustin Horstmanwhat do you have nix configured for cores/max-jobs etc 00:57:35
@khaneliman:matrix.orgAustin Horstmancuz i have a m4 max 64gb and mine took much longer last time... 00:58:04
@khaneliman:matrix.orgAustin Horstmanbut i always did it as part of a config build 00:58:25
@ihar.hrachyshka:matrix.orgIhar Hrachyshka
$ cat /etc/nix/nix.conf | grep 'core\|max'
cores = 0
max-jobs = 5

it's a 10core machine

00:58:43
@khaneliman:matrix.orgAustin HorstmanHmm wonder if i'm hurting myself by setting cores..00:59:20
@hexa:lossy.networkhexayeah, that's easily bigger than all the builders we have01:04:08
@ihar.hrachyshka:matrix.orgIhar Hrachyshka

in infra config, we have max-silent-time = 7200; # 2h for all macs.

the PR that added support for passing these overrides from untrusted clients is: https://github.com/NixOS/nix/pull/7079

which has been there for a long time...

$ git tag --contains 6e049ae607b53eba3c9c6bed260a0b39a3f73a70 | sort | head -n 1
2.12.0
01:15:47
@ihar.hrachyshka:matrix.orgIhar Hrachyshkahttps://github.com/NixOS/nix/blob/77b6b01b727f0cd1324e431a32a8854768b957ef/src/nix/nix-store/nix-store.cc#L903 so Hydra calls to remote via ssh, runs nix-store --serve there, nix-store then calls to local nix-daemon. When it does this call, apparently it doesn't propagate the settings?01:38:31
@ihar.hrachyshka:matrix.orgIhar Hrachyshka

actually, second rebuild of firefox took even quicker...

$ head -n 1 build.log ; tail -n 1 build.log
[2026-01-30 19:53:47] warning: Git tree '/Users/ihrachyshka/src/nixpkgs/ff-timeouts' is dirty
[2026-01-30 20:39:10] firefox-unwrapped (post)> ✅ All done! (2 already cached, 19 in upstream)
02:10:40
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaah I see. the previous 2h result was on ... macbook air. the second one that completed in 46 mins is the actual mac mini m4 run.02:14:02

There are no newer messages yet.


Back to Room ListRoom Version: 6