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 pkgs/top-level/release.nix: Don't require Darwin to be supported 2018-07-04 17:53:02 +02:00
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 Revert "Revert "Convert maintainer file entries to attributes, add github handles"" 2018-03-04 05:13:19 +01:00
copy-tarballs.pl Fix copy-tarballs.pl 2019-01-24 16:01:49 +01:00
debian-patches.sh debian-patches.sh: patch-tracker is long-since dead, fix to use sources? 2018-01-17 13:17:45 -06:00
dep-licenses.sh fix spelling 2015-10-25 04:26:49 +03:00
eval-release.nix Fix references to pkgs/lib 2013-10-10 13:28:22 +02:00
eval-release.sh eval-release.sh: increase nix-instantiate heap size to 2GB 2019-01-25 12:47:00 +01:00
fetch-kde-qt.sh plasma5: 5.16.5 -> 5.17.5 2020-01-27 08:29:28 -06:00
find-tarballs.nix Fix copy-tarballs.pl 2019-01-24 16:01:49 +01:00
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 cygwin: stdenv 2015-05-28 10:53:34 +02:00
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 Be less location-dependent 2016-02-20 16:12:50 +01:00
nix-diff.sh nix-diff.sh maintainer script: update usage message for new flags 2017-03-19 16:34:06 -07:00
nix-generate-from-cpan.nix treewide: remove aliases evaluated to null 2018-12-14 16:27:53 +00:00
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 nixpkgs-lint.pl: use nix-shell for shebang 2018-06-16 20:14:51 -04:00
patchelf-hints.sh rename occurrences of cc.gcc to cc.cc 2015-01-14 20:51:58 -08:00
rebuild-amount.sh rebuild-amount.sh: add --print option (PR #33693) 2018-01-14 21:12:29 +01:00
update-channel-branches.sh update-channel-branches: fix to work with posix /bin/sh 2015-02-17 17:21:55 -08:00
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 fix update-python-libraries 2018-12-19 09:37:59 +01:00
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 update.nix: Run update scripts in parallel 2018-12-01 19:17:13 +01:00
vanity-manual-equalities.txt Update vanity to add more special characters. 2015-01-18 18:20:08 +03:00
vanity.sh meta: fix fallout from #36275 2018-03-18 00:16:43 -05:00