!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1185 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
31 Jan 2026
@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
2 Feb 2026
@reckenrode:matrix.orgRandy Eckenrodeaaaaaaaaaaaaah00:55:27
@reckenrode:matrix.orgRandy EckenrodeI’ve been trying to make sure that Swift uses the real path to the stdlib when it sets the rpath. Apparently it’s mpv’s Meson that does that.00:55:57
@reckenrode:matrix.orgRandy EckenrodeBlah00:55:58
@reckenrode:matrix.orgRandy Eckenrode My code seems to work though. If you use the hidden -toolchain-stdlib-rpath argument, it resolves the rpath to the stdlib path of /nix/store/ss85ygcfnr99yjdk23li8v8s56ngvcl3-stdlib-6.2.3-dev/lib/swift/macosx. Which is wrong, but its heart is in the right place. 00:58:29
@reckenrode:matrix.orgRandy EckenrodeI patched the mpv derivation to use the right path. I’m going to punt on fixing the above until it affects the Linux build.03:13:49
@reckenrode:matrix.orgRandy Eckenrode Before doing that, I want to revist the Swift package stuff. It’s too magic. I’m thinking now of just putting stuff in an attribute that you reference, so to set up SwiftPM, you add foo-package.sdist or something to buildInputs. 03:14:47
@reckenrode:matrix.orgRandy EckenrodeIs there any precedent for doing a vendor tarball as a derivation for each piece of the tarball?03:15:03
@reckenrode:matrix.orgRandy Eckenrode I am also considering reintroducing fetchSwiftPMDeps or something to that effect. 04:29:41
@debtquity:matrix.orgdebtquityoooh, the swift compiler error is fixed, yay04:43:33

Show newer messages


Back to Room ListRoom Version: 6