nixpkgs/maintainers/scripts
Jan Tojnar 71c246c785
maintainers/scripts/update.nix: Run update scripts from the worktree
`update.nix` extracts `passthru.updateScript` attributes in the main repo
and when they are relative paths (e.g. `./update.sh`), Nix will resolve them
to absolute paths in the main repo.

Update scripts can use $(dirname $0) to get the location of files they
should update but that would point to the main repo.
We want them to modify the appropriate git worktree instead
so we replace the prefix accordingly.

`git rev-parse --show-toplevel` will resolve symlinks but, fortunately,
Nix will do that as well, so the path will match:

https://github.com/NixOS/nixpkgs/pull/98304#issuecomment-695761754
2020-09-20 20:12:34 +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/build: skip packages without meta 2020-09-09 09:54:03 +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 xara: remove 2020-06-25 07:55:01 +02: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.lua-resty-openidc: init at 1.7.2-1 2020-08-30 03:11:31 -04: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 maintainers/*: editorconfig fixes 2020-07-31 15:07:53 +10: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: auto-detect attrPath 2020-09-20 20:11:46 +02:00
update.py maintainers/scripts/update.nix: Run update scripts from the worktree 2020-09-20 20:12:34 +02: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