Support driSupport32Bit for nvidia legacy 304.
I need this for steam to work with some older cards.
This commit is contained in:
parent
e312df06f0
commit
ab29ea3c37
@ -435,7 +435,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
|
||||
|
Loading…
Reference in New Issue
Block a user