nixpkgs/maintainers/scripts
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
..
all-tarballs.nix
build.nix maintainers/scripts/build.nix: script to build all maintainer packages 2020-05-09 18:59:04 +02:00
check-maintainer-github-handles.sh
copy-tarballs.pl
debian-patches.sh
dep-licenses.sh
eval-release.nix
eval-release.sh
fetch-kde-qt.sh plasma5: 5.16.5 -> 5.17.5 2020-01-27 08:29:28 -06:00
find-tarballs.nix
hydra-eval-failures.py treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
hydra_eval_check
luarocks-config.lua luarocks-nix: bump to 2019-09-07 2019-09-08 01:14:16 +09:00
luarocks-packages.csv luaPackages.cosmo: init at 16.06.04-1 2020-02-11 16:18:19 +03:00
nix-call-package
nix-diff.sh
nix-generate-from-cpan.nix
nix-generate-from-cpan.pl nix-generate-from-cpan: use Module::CoreList to detect core modules 2020-03-14 00:25:33 -05:00
nixpkgs-lint.nix treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
nixpkgs-lint.pl
patchelf-hints.sh
rebuild-amount.sh
update-channel-branches.sh
update-luarocks-packages update-luarocks-packages: disable by default 2020-01-25 19:39:28 +01:00
update-luarocks-shell.nix update-luarocks: Use containing nixpkgs, ensure Lua drvs exist 2019-06-14 15:17:52 +10:00
update-python-libraries
update-ruby-packages ruby.withPackages: init 2019-09-03 19:44:49 +00:00
update.nix maintainers/scripts/update.nix: refactor package collector 2020-05-13 12:12:18 +02:00
update.py
vanity-manual-equalities.txt
vanity.sh