Merge pull request #70 from cpages/master

Support driSupport32Bit for nvidia legacy 304
This commit is contained in:
Vladimír Čunát 2013-02-19 11:29:14 -08:00
commit c2a213e559

View File

@ -494,7 +494,11 @@ in
else if elem "nvidiaLegacy173" driverNames then
"ln -sf ${kernelPackages.nvidia_x11_legacy173} /run/opengl-driver"
else if elem "nvidiaLegacy304" driverNames then
"ln -sf ${kernelPackages.nvidia_x11_legacy304} /run/opengl-driver"
''
ln -sf ${kernelPackages.nvidia_x11_legacy304} /run/opengl-driver
${optionalString (pkgs.stdenv.system == "x86_64-linux" && cfg.driSupport32Bit)
"ln -sf ${pkgs_i686.linuxPackages.nvidia_x11_legacy304.override { libsOnly = true; kernel = null; } } /run/opengl-driver-32"}
''
else if elem "ati_unfree" driverNames then
"ln -sf ${kernelPackages.ati_drivers_x11} /run/opengl-driver"
else if cfg.driSupport then