From cc6bd6d7bb9ede7c453229eb16e2612c1c96ff53 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 24 Mar 2013 22:07:40 +0100 Subject: [PATCH] Fix evaluation if driSupport32Bit is enabled on NVIDIA --- modules/services/x11/xserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/x11/xserver.nix b/modules/services/x11/xserver.nix index 9f0980a4c720..d83d18fe9334 100644 --- a/modules/services/x11/xserver.nix +++ b/modules/services/x11/xserver.nix @@ -487,7 +487,7 @@ in '' ln -sf ${kernelPackages.nvidia_x11} /run/opengl-driver ${optionalString (pkgs.stdenv.system == "x86_64-linux" && cfg.driSupport32Bit) - "ln -sf ${pkgs_i686.linuxPackages.nvidia_x11.override { libsOnly = true; kernel = null; } } /run/opengl-driver-32"} + "ln -sf ${pkgs_i686.linuxPackages.nvidia_x11.override { libsOnly = true; kernelDev = null; } } /run/opengl-driver-32"} '' else if elem "nvidiaLegacy96" driverNames then "ln -sf ${kernelPackages.nvidia_x11_legacy96} /run/opengl-driver"