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
build.nix maintainers/build: skip packages without meta 2020-09-09 09:54:03 +02:00
check-maintainer-github-handles.sh
copy-tarballs.pl
debian-patches.sh xara: remove 2020-06-25 07:55:01 +02:00
dep-licenses.sh
eval-release.nix
eval-release.sh
fetch-kde-qt.sh
find-tarballs.nix
hydra-eval-failures.py
hydra_eval_check
luarocks-config.lua
luarocks-packages.csv luaPackages.lua-resty-openidc: init at 1.7.2-1 2020-08-30 03:11:31 -04:00
nix-call-package
nix-diff.sh
nix-generate-from-cpan.nix
nix-generate-from-cpan.pl
nixpkgs-lint.nix
nixpkgs-lint.pl
patchelf-hints.sh
rebuild-amount.sh maintainers/*: editorconfig fixes 2020-07-31 15:07:53 +10:00
update-channel-branches.sh
update-luarocks-packages
update-luarocks-shell.nix
update-python-libraries
update-ruby-packages
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
vanity.sh