summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2020-05-03 19:09:43 +0200
committerAtemu <atemu.main@gmail.com>2020-12-13 06:15:32 +0100
commita5ea1b6fb3e4906802e5d01e7fa08913d5b4f235 (patch)
tree35e78e00870d525ef6da0545a64b23332877a3af /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentc72c02ab2677601fd206925f48e87e753e9ca80b (diff)
xorgserver: set log-dir to /var/log instead of the Nix store
Xorg creates the log-dir in its output path because X crashes if it can't write to its logfile. On a regular distro, this dir would be installed into the root to prevent that from happening but with Nix, it sits in the read-only Nix store. Ironically, when Xorg tries to write here, it fails and crashes. To make Xorg log to /var/log, we have to stop the build script from trying to create the log-dir as the sandbox doesn't (and shouldn't) have access to /var. This creates a runtime dependency on /var when running as root but that should exist on any Linux system (on NixOS, journald always creates /var/log). Previously, the startx displayManager required some workarounds for logfiles which are obsolete now. patchPhase -> postPatch because overriding the patchPhase prevents patches from being applied
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions