summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-09-20 10:29:34 +0200
committerJan Tojnar <jtojnar@gmail.com>2020-09-20 20:12:34 +0200
commit71c246c7856eafe369d673aec4ecbf7568b50a9f (patch)
tree5737bdc958a4a1ca5e62afd6af1b81b811f114b1 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent0c5ddf335836c521215ecc9bfbb07ba45256a7df (diff)
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
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions