7d10816c98b380ee2cbe97f237cc8d6ee0ded9c6
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>
Description
Languages
Nix
86.3%
C++
5.5%
Shell
2.6%
Haskell
2.5%
C
1.4%
Other
1.5%