summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2019-12-31 16:28:52 +0100
committerMichael Weiss <dev.primeos@gmail.com>2020-04-22 17:09:20 +0200
commit1a047c4a8eb6e6a1903dfe8453d8df585e22ac9a (patch)
tree32f5219d1207bab6f7e90f7795b84752d87f0c3b /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent63acac64354d35f094350321f85c33a408c8fc72 (diff)
sway: Make it possible to use exec in extraSessionCommands
This is useful for use-cases like this (logging to journald): ``` programs.sway.extraSessionCommands = '' if [ -z "$_SWAY_DID_SYSTEMD_CAT" ]; then export _SWAY_DID_SYSTEMD_CAT=1 exec ${config.systemd.package}/bin/systemd-cat -t sway "$0" "$@" fi # ... (potentially also another exec) ''; ``` Without this change the rest of the extraSessionCommands won't be executed after the exec since the whole extraSessionCommands block would be skipped during the re-execution (_SWAY_WRAPPER_ALREADY_EXECUTED is already set).
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions