summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorJordan Williams <jordan@jwillikers.com>2024-03-02 12:40:16 -0600
committerJordan Williams <jordan@jwillikers.com>2024-03-03 12:00:25 -0600
commit8558d7b1ceb604b4e91b17281f2efbbad5ba47a1 (patch)
tree08f5b92b895c980b7b4b90af8aabefdc71479cbc /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent9c8cdfde17d675c9bb3975d0a0bca26bdbbe6683 (diff)
nixos/users-groups: Fix the update-lingering activation script failing
The update-lingering activation script currently fails during rebuilds. This happens when removing a user with linger enabled. The call to loginctl disable-linger runs for the non-existent user. This returns an error code which causes the failure. To mitigate this, this PR removes any residual linger files. These are files named for the user in /var/lib/systemd/linger. A simple check for user existence determines whether to delete the file. This happens before the call to disable-linger to avoid any errors. Fixes #283769.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions