diff options
| author | Jan Tojnar <jtojnar@gmail.com> | 2025-05-01 17:26:02 +0200 |
|---|---|---|
| committer | Jan Tojnar <jtojnar@gmail.com> | 2025-05-07 00:49:25 +0200 |
| commit | 2e0c34649bc980a7ad392b57235f762b7ce06b2f (patch) | |
| tree | e73dbca754d3910b22245eb60a552d2996599bc4 /pkgs/development/python-modules/python-sql | |
| parent | 4b62180eadd3d45bce3f358f02dc1f8d9116d574 (diff) | |
maintainers/scripts/update.nix: Fix reverse toposort with independent packages
When updating GNOME packages in reverse topological order using the following command:
nix-shell maintainers/scripts/update.nix --arg predicate '(path: pkg: builtins.any (team: team.shortName == "GNOME") pkg.meta.teams or [])' --argstr order reverse-topological
the `update.py` script would crash with `ValueError` on calling `ordered.index("adwaita-fonts")`.
This happened because the `adwaita-fonts` does not depend on any other GNOME package, nor it is depended upon by one.
As a result, it had been discarded by the `reverse_edges` function.
Co-authored-by: Philip Taron <philip.taron@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions
