diff --git a/srcpkgs/xorg-server/patches/autoconfig-nvidia.patch b/srcpkgs/xorg-server/patches/autoconfig-nvidia.patch
index be57812a8c..48a575d719 100644
--- a/srcpkgs/xorg-server/patches/autoconfig-nvidia.patch
+++ b/srcpkgs/xorg-server/patches/autoconfig-nvidia.patch
@@ -18,8 +18,8 @@
 +		    driverList[idx++] = "nouveau";
 +		    break;
 +		default:
-+		    driverList[idx++] = "nouveau";
 +		    driverList[idx++] = "nvidia";
++		    driverList[idx++] = "nouveau";
 +		    break;
 +		}
  #endif
diff --git a/srcpkgs/xorg-server/template b/srcpkgs/xorg-server/template
index 6fd4bc39e2..a0edc9a40f 100644
--- a/srcpkgs/xorg-server/template
+++ b/srcpkgs/xorg-server/template
@@ -1,7 +1,7 @@
 # Template build file for 'xorg-server'.
 pkgname=xorg-server
 version=1.12.4
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--enable-ipv6 --enable-xcsecurity --enable-record
 --enable-xnest --enable-xephyr --enable-composite --enable-xvfb