From 2595ec4f4bb283a4cf72c96ac998f0fe59b13cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 8 Aug 2010 18:53:38 +0000 Subject: [PATCH] Disable DRI on xorg for the fuloong2f, as mesa does not include 'dri.pc' in that platform, and the autodetection of DRI by the xorgserver configure script looks like it needs an explicit "--disable-dri" to go on. svn path=/nixpkgs/branches/stdenv-updates/; revision=23045 --- pkgs/servers/x11/xorg/overrides.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 87d4924a363..b245c21057a 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -149,6 +149,8 @@ in rm -fr $out/share/X11/xkb/compiled ln -s /var/tmp $out/share/X11/xkb/compiled ''; + configureFlagsArray = args.stdenv.lib.optionals + (args.stdenv.system == "ict_loongson-2_v0.3_fpu_v0.1-linux") [ "--disable-dri" ]; }; libSM = attrs: attrs // args.stdenv.lib.optionalAttrs (args.stdenv.system == "i686-darwin") {