Making xserver cope with new evdev input device, and the proper dri mesa driver directory.
svn path=/nixos/trunk/; revision=15346
This commit is contained in:
parent
1723eaec3d
commit
bf04b4c7dc
@ -76,6 +76,7 @@ Section "ServerLayout"
|
||||
@setCorePointer@
|
||||
Screen "Screen[0]"
|
||||
@serverLayoutOptions@
|
||||
Option "AutoAddDevices" "0"
|
||||
EndSection
|
||||
|
||||
|
||||
|
@ -58,7 +58,7 @@ let
|
||||
xorg.xf86inputevdev
|
||||
]
|
||||
++ getAttr ["modules"] [] videoDriverModules
|
||||
++ (optional cfg.synaptics.enable ["${pkgs.synaptics}/${xorg.xorgserver}" /*xorg.xf86inputevdev*/]);
|
||||
++ (optional cfg.synaptics.enable ["${xorg.xf86inputsynaptics}"]);
|
||||
|
||||
|
||||
fontsForXServer =
|
||||
@ -447,7 +447,7 @@ rec {
|
||||
}
|
||||
|
||||
${if videoDriver != "nvidia"
|
||||
then "env XORG_DRI_DRIVER_PATH=${pkgs.mesa}/lib/modules/dri"
|
||||
then "env XORG_DRI_DRIVER_PATH=${pkgs.mesa}/lib/dri"
|
||||
else ""
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user