Rodrigo Arias Mallo 7d10816c98 Add custom nix-daemon exporter
Allows us to see which derivations are being built in realtime. It is a
bit of a hack, but it seems to work. We simply look at the environment
of the child processes of nix-daemon (usually bash) and then look for
the $name variable which should hold the current derivation being
built. Needs root to be able to read the environ file of the different
nix-daemon processes as they are owned by the nixbld* users.

See: https://discourse.nixos.org/t/query-ongoing-builds/23486
Reviewed-by: Aleix Boné <abonerib@bsc.es>
2025-04-24 23:51:06 +02:00
..
2023-10-24 11:49:42 +02:00
2025-01-14 12:01:00 +01:00
2025-01-14 12:01:00 +01:00
2025-04-24 23:51:06 +02:00
2023-06-14 17:28:00 +02:00
2025-04-11 10:03:05 +02:00
2023-09-12 12:19:43 +02:00
2024-09-20 11:19:30 +02:00
2023-08-25 13:21:00 +02:00