summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-12-20 23:42:39 +0100
committerFlorian Klink <flokli@flokli.de>2020-12-21 00:34:31 +0100
commit43f74794de82cfc5b29b9ad42ac3416d460e5d5d (patch)
tree4d3e166689cc6187d3179ae032ccb35a1badcf54 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent132894d1fadacd2255f2005444fa05aab81b91f2 (diff)
displaylink: manually activate dlm.service
The shell script coming with the vendor-provided udev rule simply starts dlm.service (and sets up some symlinks), and stops dlm.service if that was the last card plugged in. On NixOS, some of the cat/grep/sed commands are not available, causing the script to fail. Turns out, the symlinks aren't needed at all. Archlinux ships their own script (https://aur.archlinux.org/cgit/aur.git/plain/udev.sh?h=displaylink), which only starts and stops dlm.service, depending on whether there's cards left or not. We can further optimize this by simply starting dlm.service on the first card, and not stopping it at all. Considering dlm won't get stopped if one of multiple cards is unplugged, it seems to handle disconnects.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions