nixpkgs/pkgs/servers/x11/xorg
Atemu a5ea1b6fb3 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
2020-12-13 06:15:32 +01:00
..
darwin/dri/GL/internal xquartz: fix build 2018-05-11 23:55:59 -05:00
.gitignore pkgs/servers/x11/xorg: Git-ignore download-cache 2019-08-02 18:48:33 +02:00
builder.sh treewide: Don't use nativePkgs or crossPkgs anymore 2017-12-30 22:04:22 -05:00
default.nix Merge master into staging-next 2020-12-05 00:38:01 +00:00
dont-create-logdir-during-build.patch xorgserver: set log-dir to /var/log instead of the Nix store 2020-12-13 06:15:32 +01:00
fix-uninitialised-memory.patch xorg.fonttosfnt: add patch to fix uninitialized memory bug 2020-02-07 18:20:47 +01:00
generate-expr-from-tarballs.pl xorg: fix update generation 2020-11-23 13:30:25 -08:00
imake-cc-wrapper-uberhack.patch
imake-setup-hook.sh treewide: *Phase(s)? variables are optional 2019-11-01 14:44:44 -04:00
imake.patch
imake.sh
overrides.nix xorgserver: set log-dir to /var/log instead of the Nix store 2020-12-13 06:15:32 +01:00
tarballs.list Merge master into staging-next 2020-12-05 00:38:01 +00:00
xcb-util-xrm.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
xwayland.nix nixos/xwayland: add new module and allow configuring a default font path 2020-10-04 14:56:30 +01:00