nixpkgs/maintainers
Jan Tojnar 3f3aeb7c85
maintainers/scripts/update.nix: refactor package collector
The `packagesWith` function expected an attrSet but `packagesWithUpdateScript`
could be passing it a derivation or a list when the attribute path
supplied by user through the `--argstr path` argument pointed to one.
It only worked because derivations are also attrSets and contain their
outputs as attributes, and did not work for lists at all.

Additionally, the improper handling would cause the `src` attribute
to be built in some rare cases (`mkYarnPackage` seems to trigger this).

Rewriting the `packagesWith` function to be inductive with a derivation
as a base case and attrSets and lists as inductive steps is much cleaner
and also fixes the unnecessary build.
2020-05-13 12:12:18 +02:00
..
scripts maintainers/scripts/update.nix: refactor package collector 2020-05-13 12:12:18 +02:00
maintainer-list.nix maintainers: add pablovsky 2020-05-10 20:18:50 +02:00
team-list.nix maintainers/teams: Add php team 2020-04-29 20:08:02 +02:00