!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
31 Jan 2026
@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
@ihar.hrachyshka:matrix.orgIhar Hrachyshkahttps://github.com/NixOS/nix/pull/1512503:56:06
@ihar.hrachyshka:matrix.orgIhar Hrachyshka hexa: if my theory ^ is correct (which is hard to believe), then I'd advise to bump max-silent-time settings on infra to 4h. all nixpkgs cases where maxSilent is overridden in meta are for 4h. 03:59:00
@dont.wanna.tell:matrix.orgMartin HäckerAnyone at FOSDEM and would like to meet?10:12:16
@weethet:catgirl.cloudWeetHet Why if there no command not found database in the nixpkgs-* tarballs only in the nixos-* ones? 17:56:35
@k900:0upti.meK900Some stupid channel scripts thing18:03:10
@k900:0upti.meK900Didn't we drop it anyway18:03:17
@k900:0upti.meK900Please just use nix-index18:03:22
1 Feb 2026
@weethet:catgirl.cloudWeetHetErm, no? It's good enough if I don't want to pull in nix-index14:14:12
@weethet:catgirl.cloudWeetHetJust because it is only included in tarballs and not on github doesn't make it a stupid channel thing14:14:39
@hrmn123:matrix.orgDucky changed their display name from mrdukydev to Ducky.23:10:59
@hrmn123:matrix.orgDucky changed their profile picture.23:11:28
@hrmn123:matrix.orgDucky changed their profile picture.23:14:54

Show newer messages


Back to Room ListRoom Version: 6