1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
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 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
eval-release.nix
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
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
nix-diff.sh
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
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-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
vanity.sh