!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
21 Jan 2026
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI think nix will always first use remote builders; localhost is least preferred14:57:05
@khaneliman:matrix.orgAustin Horstmanthe problem comes that you set how many builds you'll run at once and if one of them is bringing the whole system down, they all become less effective. i have multiple builders, as well. this is more about not using all available cpu power that brings system to a halt14:57:25
@ihar.hrachyshka:matrix.orgIhar Hrachyshkathere was a bug for that...14:57:29
@khaneliman:matrix.orgAustin Horstmani gave up on fighting this. i wanted to prefer local lol14:57:40
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI want same priority for localhost vs remote. I just want cpus go brrr.14:58:09
@khaneliman:matrix.orgAustin Horstmani tried getting creative with setting my local as a self ssh to fit it into priority 14:58:23
@ihar.hrachyshka:matrix.orgIhar Hrachyshkahttps://github.com/NixOS/nix/issues/2457 I think14:58:38
@eveeifyeve:matrix.orgeveeifyeveHowever I see a couple issues with that pr is, one it doesn't consider the new nix-commands and two it would need rebasing because it's super outdated.14:58:47
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaself reference is prone to deadlock because of store locks14:59:00
@khaneliman:matrix.orgAustin Horstmanoh yeah it was a horrible experience lol 14:59:26
@eveeifyeve:matrix.orgeveeifyeve* However I see a couple issues with that pr is, one it doesn't consider the new nix-commands (eg. nix build) and two it would need rebasing because it's super outdated.14:59:27
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI have lots of builders (3 macs, 4+ linux machines, plus community builders) and what I learned is that you have to be very careful about making sure you don't have cycles in your build graph. otherwise machineA asks to build on machineB and machineB asks to build on machineA ... and you are stuck.15:00:52
@khaneliman:matrix.orgAustin Horstmani didn't even consider that... i've had issues with builds seemingly stuck and not pinned it down... maybe i shouldn't let everyone access everyone the same..15:02:16
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaoh for sure you shouldn't.15:02:41
@eveeifyeve:matrix.orgeveeifyeve

Any other prs that are related to these below?

  • https://github.com/NixOS/nix/pull/11143 (load limit)
  • https://github.com/NixOS/nix/issues/2457 (speedFactor)
  • And stuff about parallel eval implementation movement
15:05:24
@reckenrode:matrix.orgRandy EckenrodeOnce Nix is building stuff, eval is done.15:08:07
@qyliss:fairydust.spaceAlyssa Rosshttps://github.com/ninja-build/ninja/commit/a5da6f98c72d161f766f44fd7cacdcabaaa045ab15:22:18
@reckenrode:matrix.orgRandy EckenrodeI had no idea it finally got merged.15:23:07
@weethet:catgirl.cloudWeetHetHow does thin lto compare to full?15:23:26
@weethet:catgirl.cloudWeetHetIIRC it wasn’t much worse when I tested rust15:23:44
@weethet:catgirl.cloudWeetHet * 15:23:58
@reckenrode:matrix.orgRandy EckenrodeThin LTO was still too slow with Swift.15:24:19
@weethet:catgirl.cloudWeetHetDamn, I thought ThinLTO was supposed to be near no lto speed15:27:47
@weethet:catgirl.cloudWeetHet But I was mainly thinking about firefox 15:28:18
@weethet:catgirl.cloudWeetHetThey have full LTO enabled for some reason15:28:49
@reckenrode:matrix.orgRandy EckenrodeI think it makes different trade-offs, which makes it amenable to parallelization.15:28:56
@reckenrode:matrix.orgRandy Eckenrode * 15:29:05
@reckenrode:matrix.orgRandy Eckenrode * 15:29:10
@reckenrode:matrix.orgRandy EckenrodeBut I guess there can be pathological cases.15:29:24
@reckenrode:matrix.orgRandy EckenrodeOh, only client support? The PR for server support is https://github.com/ninja-build/ninja/pull/2634.15:54:14

Show newer messages


Back to Room ListRoom Version: 6