summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorFélix Baylac-Jacqué <felix@alternativebit.fr>2020-09-07 12:26:28 +0200
committerFélix Baylac-Jacqué <felix@alternativebit.fr>2020-09-07 12:26:40 +0200
commitecb73fd5557d6d438aa7c155e5b1aad89373c6ae (patch)
tree476bfc195a9d4fe322faaf3f312e3653362d66d3 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent2ff0bdfb52804b0b7f990bd69ecc28f7ae429897 (diff)
test-driver.py: fix VM state directory deletion
The previous version of the code would only kick in if the state directory path pointed at a *file*, which never occurs. Making that codepath actually work reveals an ordering bug, which this patch fixes as well. It also replaces the confusing, imperative case log message "delete VM state directory" with "deleting VM state directory". Finally, we hint the user about how to prevent this deletion. IE. by passing the --keep-vm-state flag. Bug report: https://github.com/NixOS/nixpkgs/pull/91046#issuecomment-685568750 Credit goes to Edef for the rebase on top of a recent nixpkgs commit and for writing most of this commit message. Co-authored-by: edef <edef@edef.eu>
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions