diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-06-05 00:52:06 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-06-05 00:52:06 +0200 |
commit | a03ff26080488d40c4d493aa9386460728fb8fd5 (patch) | |
tree | 1a15b2b72907ae242ebcdfa7e95bff51edaf28ec /nixos | |
parent | 405493e411f77debc172bd72a9683bfcb84944af (diff) | |
parent | e7080becfdfe6fbd827e18e6efb180be82c7c9b9 (diff) |
Merge #15639: xorg-server 1.17.4 -> 1.18.3
... and fglrxCompat to maintain compatibility.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1609.xml | 4 | ||||
-rw-r--r-- | nixos/modules/hardware/video/ati.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/x11/xserver.nix | 12 |
3 files changed, 16 insertions, 2 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1609.xml b/nixos/doc/manual/release-notes/rl-1609.xml index b08688a66959b..be175a54c2325 100644 --- a/nixos/doc/manual/release-notes/rl-1609.xml +++ b/nixos/doc/manual/release-notes/rl-1609.xml @@ -16,6 +16,10 @@ has the following highlights: </para> See <xref linkend="sec-booting-from-pxe" /> for documentation.</para> </listitem> + <listitem> + <para>Xorg-server-1.18.*. If you choose <literal>"ati_unfree"</literal> driver, + 1.17.* is still used due to ABI incompatibility.</para> + </listitem> </itemizedlist> <para>The following new services were added since the last release:</para> diff --git a/nixos/modules/hardware/video/ati.nix b/nixos/modules/hardware/video/ati.nix index 033e49d2233ed..bf91bcf0776bb 100644 --- a/nixos/modules/hardware/video/ati.nix +++ b/nixos/modules/hardware/video/ati.nix @@ -18,6 +18,8 @@ in config = mkIf enabled { + nixpkgs.config.xorg.fglrxCompat = true; + services.xserver.drivers = singleton { name = "fglrx"; modules = [ ati_x11 ]; libPath = [ "${ati_x11}/lib" ]; }; diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix index 82d3e31e2a016..35816c3a16ddd 100644 --- a/nixos/modules/services/x11/xserver.nix +++ b/nixos/modules/services/x11/xserver.nix @@ -463,7 +463,14 @@ in { source = "${cfg.xkbDir}"; target = "X11/xkb"; } - ]); + ]) + # Needed since 1.18; see https://bugs.freedesktop.org/show_bug.cgi?id=89023#c5 + ++ (let cfgPath = "/X11/xorg.conf.d/10-evdev.conf"; in + [{ + source = xorg.xf86inputevdev.out + "/share" + cfgPath; + target = cfgPath; + }] + ); environment.systemPackages = [ xorg.xorgserver.out @@ -479,6 +486,7 @@ in xorg.xauth pkgs.xterm pkgs.xdg_utils + xorg.xf86inputevdev.out # get evdev.4 man page ] ++ optional (elem "virtualbox" cfg.videoDrivers) xorg.xrefresh; @@ -538,7 +546,7 @@ in services.xserver.modules = concatLists (catAttrs "modules" cfg.drivers) ++ [ xorg.xorgserver.out - xorg.xf86inputevdev + xorg.xf86inputevdev.out ]; services.xserver.xkbDir = mkDefault "${pkgs.xkeyboard_config}/etc/X11/xkb"; |