!PbtOpdWBSRFbEZRLIf:numtide.com

Nix Community Projects

594 Members
Meta discussions related to https://nix-community.org. (For project specific discussions use github issues or projects own matrix channel). Need help from an admin? Open an issue on https://github.com/nix-community/infra/issues155 Servers

Load older messages


SenderMessageTime
2 Apr 2025
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nix/pull/11143 would make this a lot less painful20:58:05
@emilazy:matrix.orgemilysince it would stop more build jobs spawning with some common build systems when the load is already too high20:58:23
@emilazy:matrix.orgemilybut there's been like 3 PRs adding this to Nix and crickets so far20:58:32
@emilazy:matrix.orgemily (it used to be in stdenv but it got removed because it slowed throughput for Hydra) 20:58:40
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)wouldncouldn't we just put that in lix and have the community builders run lix if nix team doesn't hurry up?21:01:05
@emilazy:matrix.orgemilythat's not a battle I'm interested in having :P but I have considered posting the patch on the Lix side to get some design feedback21:01:53
@emilazy:matrix.orgemilyFWIW, it is not a panacea. e.g., Rust builds don't support it, so those will still chew up endless amounts of CPU. it would help for Make and Ninja and there's probably other build systems that could make use of it too.21:02:29
@emilazy:matrix.orgemilybut it would make large builds on workstations or shared machines meaningfully less painful21:02:46
@ihar.hrachyshka:matrix.orgIhar Hrachyshkanix-daemon could also perhaps be smarter (e.g. throttle new jobs spawns when load is too high)21:03:24
@emilazy:matrix.orgemilyyeah, that would be nice21:03:42
@emilazy:matrix.orgemilybut not keen to put more effort into that PR than I already have :)21:04:01
@emilazy:matrix.orgemilyload limits are a bad solution in general, we actually want a proper jobserver protocol21:04:10
@glepage:matrix.orgGaétan Lepage A recent episode of the Full Time Nix podcast was about remote building. The guest started a company and his product seems to have a lot of very appealing features in this regard.
Unfortunately, it is closed source.
21:04:10
@emilazy:matrix.orgemilywhich IIRC Rust implements the new Make version of or at least considered implementing21:04:21
@emilazy:matrix.orgemilybut that's a bunch of work and this is one flag21:04:32
@glepage:matrix.orgGaétan Lepage

Speaking about the builders, I created this room: https://matrix.to/#/#nix-community-builders:matrix.org

Indeed, I don't think that the Nix-community room should be use for mere user-coordination. It spams a lot and most people probably don't care.

21:15:39
@khaneliman:matrix.orgAustin Horstmani have tried so many different ways of limiting nix-daemon and builds and its just too painful and not effective... 22:50:16
@khaneliman:matrix.orgAustin HorstmanI also would like to take advantage of all my remote builders in a different way than it works.. I want my local machine highest priority and only fallback to remote builders when needed based on usage / number of jobs etc22:51:04
@khaneliman:matrix.orgAustin HorstmanRight now I basically have to blacklist my build machines of the same platform/architecture so that I dont need to spin up a ssh connection for trivial stuff constantly22:51:57
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i'd also love my remote builders to optionally continue building while my main machine is disconnected from wifi. It is frustrating having a hours long build be cancled just because wifi cuts out22:52:38
@khaneliman:matrix.orgAustin Horstmani tried getting clever and adding my host as a remote builder for itself since you can ssh into yourself, but the build would just hang indefinitely lol22:57:04
@khaneliman:matrix.orgAustin Horstman* i tried getting clever and adding my host as a high priority remote builder for itself since you can ssh into yourself, but the build would just hang indefinitely lol22:57:14
@khaneliman:matrix.orgAustin Horstmanthat would be nice... 23:03:38
@ihar.hrachyshka:matrix.orgIhar Hrachyshkabtw is there a config example on how to set community builders with nix-daemon nix module to use ssh key from a user .ssh/ directory? I tried but looked like nix-daemon fails to ssh because of the key not read properly.23:05:17
@ihar.hrachyshka:matrix.orgIhar Hrachyshka this is what I tried 23:06:50
@khaneliman:matrix.orgAustin HorstmanBeen a while since I've tried messing with it... I had issues with it and ended up just passing the key from a sops-nix secret23:10:41
3 Apr 2025
@johnrtitor:matrix.orgAinz Ooal GownRunning a few staging builds on the x64 linux build box for https://github.com/NixOS/nixpkgs/pull/390171 Hopefully won't put too much strain on it11:07:45
@c00l_game_dev:matrix.orgc00l_game_dev joined the room.19:50:15
4 Apr 2025
@travis-staton:matrix.org@travis-staton:matrix.org left the room.15:42:03
@osmanfbayram:matrix.orgosbm joined the room.16:24:44

Show newer messages


Back to Room ListRoom Version: 6