metrics.nix: add nix-env.qaCountDrv metric

Before ae16dd1a15 `nix-env.qaCount` and
`nix-env.qaCountDrv` were equivalent, after that change that is no longer
the case so this needs a separate metric now.
This commit is contained in:
Jan Malakhovski 2019-02-22 16:59:29 +00:00
parent 828759f9b8
commit 36aa5b691d

View file

@ -55,6 +55,9 @@ runCommand "nixpkgs-metrics"
num=$(nix-env -f ${nixpkgs} -qa | wc -l)
echo "nix-env.qaCount $num" >> $out/nix-support/hydra-metrics
num=$(nix-env -f ${nixpkgs} -qa --drv-path | wc -l)
echo "nix-env.qaCountDrv $num" >> $out/nix-support/hydra-metrics
# TODO: this has been ignored for some time
# GC Warning: Bad initial heap size 128k - ignoring it.
#export GC_INITIAL_HEAP_SIZE=128k