| Commit message (Expand) | Author | Age | Files | Lines |
| * | pkgs/top-level/metrics.nix: fix the jq to count derivations•••As can be seen on https://hydra.nixos.org/job/nixpkgs/trunk/metrics/metric/nix-env.qaCountBroken the logic is counting `null` entries today.
I introduced this regression in dfd90bf4c07b6eb3d101190c2ad2369c92ea52d5
| Philip Taron | 2025-09-18 | 1 | -1/+1 |
| * | pkgs/top-level/metrics.nix: use -print0 to insulate us from spaces in find | Philip Taron | 2025-09-16 | 1 | -1/+1 |
| * | pkgs/top-level/metrics.nix: use the configure, build, and install phases•••Per CR feedback, this is better than unpack and install with build jammed into install.
| Philip Taron | 2025-09-16 | 1 | -22/+33 |
| * | pkgs/top-level/metrics.nix: pass --no-gc-warning so that no spew about --add-... | Philip Taron | 2025-09-16 | 1 | -3/+3 |
| * | pkgs/top-level/metrics.nix: turn off aliases in the evaluation•••This mirrors `ci/eval` and also prevents many warnings from being logged.
| Philip Taron | 2025-09-16 | 1 | -0/+7 |
| * | pkgs/top-level/metrics.nix: use the latest Nix version, just like CI | Philip Taron | 2025-09-16 | 1 | -1/+1 |
| * | pkgs/top-level/metrics.nix: save the raw files, compressing the output | Philip Taron | 2025-09-16 | 1 | -6/+16 |
| * | pkgs/top-level/metrics.nix: just run nix-env -qa once•••If we save the output, we can use it later with a little `jq`.
| Philip Taron | 2025-09-16 | 1 | -11/+6 |
| * | pkgs/top-level/metrics.nix: use json, not XML•••It's testing the same thing, and it's useful to have the JSON output.
| Philip Taron | 2025-09-16 | 1 | -2/+2 |
| * | pkgs/top-level/metrics.nix: use the eval-system parameter to target a specifi... | Philip Taron | 2025-09-16 | 1 | -8/+9 |
| * | pkgs/top-level/metrics.nix: log out the statistics using jq with a header | Philip Taron | 2025-09-16 | 1 | -2/+4 |
| * | pkgs/top-level/metrics.nix: convince the time command to output JSON•••Also, name the JSON files with the .json extension and the name of the run being produced.
| Philip Taron | 2025-09-16 | 1 | -8/+35 |
| * | pkgs/top-level/metrics.nix: remove the aggressive variants•••They've been the same as the non-aggressive variants since Jan 13, 2019 (61b8c03a78caa)
| Philip Taron | 2025-09-16 | 1 | -17/+1 |
| * | pkgs/top-level/metrics.nix: use __structuredAttrs | Philip Taron | 2025-09-16 | 1 | -10/+16 |
| * | pkgs/top-level/metrics.nix: tidy up variables and quoting•••We also allow the lines to be unbroken.
| Philip Taron | 2025-09-16 | 1 | -27/+26 |
| * | pkgs/top-level/metrics.nix: add meta explaining this file | Philip Taron | 2025-09-16 | 1 | -0/+81 |
| * | pkgs/top-level/metrics.nix: use stdenvNoCC.mkDerivation instead of runCommand | Philip Taron | 2025-09-16 | 1 | -15/+28 |
| * | treewide: format all inactive Nix files•••After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
--argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7
result/bin/apply-formatting $NIXPKGS_PATH
| Silvan Mosberger | 2024-12-10 | 1 | -1/+8 |
| * | metrics job: schedule on any machine, for now•••For non-time metrics it doesn't matter,
and those seem more important anyway.
So better this than nothing, for now.
| Vladimír Čunát | 2024-07-18 | 1 | -1/+2 |
| * | Revert "metrics job: schedule on any machine, for now" | Vladimír Čunát | 2022-06-12 | 1 | -2/+1 |
| * | metrics job: schedule on any machine, for now•••For non-time metrics it doesn't matter,
and those seem more important anyway.
So better this than nothing, for now.
| Vladimír Čunát | 2022-05-13 | 1 | -1/+2 |
| * | Revert "metrics: drop requiredSystemFeatures; /cc #76776"•••This reverts commit c7aef6dedb29392ef2aad8fe70fa9745597c84ea.
I believe it should work again since today, though I'm being a bit
conservative, pushing to `staging-next` instead of `master`.
| Vladimír Čunát | 2021-11-14 | 1 | -2/+1 |
| * | metrics: set NIX_STORE_DIR•••Mirror ca5ecbed4b5775f873fa15d7bf064b00d9e2862a to workaround
NIX_STATE_DIR errors.
As with the other workaround, see:
https://github.com/NixOS/nix/issues/5495#issuecomment-963949707
| Matthew Mazzanti | 2021-11-11 | 1 | -1/+2 |
| * | Fix metrics job•••It was failing because the pager wasn't set, causing the message
error: executing '': No such file or directory
to pollute the JSON output.
https://hydra.nixos.org/build/154768851
Issue #76776.
| Eelco Dolstra | 2021-09-27 | 1 | -4/+3 |
| * | metrics: drop requiredSystemFeatures; /cc #76776•••The build hasn't worked for months (even on 20.09). Now also my
dedicated machine broke, and I don't feel like maintaining it until
the job has any chance of succeeding.
(I don't know why exactly it's failing.)
| Vladimír Čunát | 2021-03-28 | 1 | -1/+2 |
| * | Don't set $NIX_DB_DIR•••This variable was removed in 2016.
| Eelco Dolstra | 2020-08-24 | 1 | -1/+0 |
| * | metrics: don’t output nix output for qaDrv*•••These have a hug log that will hit “log limit exceeded” on Hydra. This
commit skips the biggest offenders - qaDrv and qaDrvAggresive, giving
smaller logs.
https://hydra.nixos.org/build/94487387
| Matthew Bauer | 2019-06-07 | 1 | -1/+10 |
| * | metrics.nix: track qaCountBroken instead of qaCountDrv•••From these three values, I believe it's most meaningful to track
one of the higher ones and their difference (qaCountBroken).
It's a bit unclear which of the higher ones - I have no data on that,
so I kept the one used before the parent commit.
| Vladimír Čunát | 2019-03-01 | 1 | -3/+4 |
| * | metrics.nix: add nix-env.qaCountDrv metric•••Before ae16dd1a15dfbe29c6a1de61c4cc23e2cd6487f0 `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.
| Jan Malakhovski | 2019-02-22 | 1 | -0/+3 |
| * | metrics job: update for nix-2.2•••Fixes https://github.com/NixOS/nixpkgs/issues/53858
I think I managed to keep all numbers the same as before nix-2.2.
| Vladimír Čunát | 2019-01-13 | 1 | -8/+13 |
| * | metrics.nix: add a metrick for the current number of packages as seen by nix-env | Jan Malakhovski | 2018-11-17 | 1 | -0/+3 |
| * | Revert "release/metrics: drop requiredSystemFeatures"•••This reverts commit 1d0caa7b035875cee70bf8072b46b19e4965c65b. Thanks
to @vcunat we have a 'benchmark' machine again!
| Eelco Dolstra | 2018-07-30 | 1 | -1/+1 |
| * | release/metrics: drop requiredSystemFeatures•••Lack of a "benchmark" machine on Hydra prevents it from building,
and that blocks channels.
| Vladimír Čunát | 2018-07-26 | 1 | -1/+1 |
| * | metrics: fix "values" to be count not bytes, to match prev behavior•••https://github.com/NixOS/nixpkgs/pull/36896#discussion_r174163744
| Will Dietz | 2018-03-13 | 1 | -1/+1 |
| * | metrics: fixup sed expr to work with Nix 2 | Will Dietz | 2018-03-12 | 1 | -1/+1 |
| * | nixpkgs.metrics: --show-trace into the log•••If the log is empty, it's difficult to debug problems. This case:
https://github.com/NixOS/nixpkgs/pull/30252/files#r153038794
| Vladimír Čunát | 2017-11-25 | 1 | -4/+7 |
| * | nixpkgs-metrics: Suppress build products | Eelco Dolstra | 2016-03-24 | 1 | -0/+1 |
| * | Keep track of Nixpkgs/NixOS evaluation statistics | Eelco Dolstra | 2016-03-24 | 1 | -0/+54 |