Rodrigo Arias Mallo e371284cbd 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-10-01 16:40:17 +02:00
2025-10-01 16:40:17 +02:00
2025-10-01 16:40:16 +02:00
2025-10-01 16:40:16 +02:00
2025-10-01 16:40:16 +02:00
2025-10-01 16:40:16 +02:00
2025-10-01 16:40:15 +02:00
Description
Configuration for NixOS machines.
https://jungle.bsc.es/
88 MiB
Languages
Nix 87.2%
C++ 7%
Shell 3.2%
Python 1.3%
CSS 0.6%
Other 0.5%