tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nvidia: 346.47 -> 346.59
William A. Kennington III
11 years ago
6ffd44c4
46ce3823
+3
-9
2 changed files
expand all
collapse all
unified
split
nixos
modules
hardware
video
nvidia.nix
pkgs
os-specific
linux
nvidia-x11
default.nix
-3
nixos/modules/hardware/video/nvidia.nix
···
13
13
# driver.
14
14
nvidiaForKernel = kernelPackages:
15
15
if elem "nvidia" drivers then
16
16
-
if versionAtLeast kernelPackages.kernel.version "4.0" then
17
17
-
kernelPackages.nvidia_x11_beta
18
18
-
else
19
16
kernelPackages.nvidia_x11
20
17
else if elem "nvidiaLegacy173" drivers then
21
18
kernelPackages.nvidia_x11_legacy173
+3
-6
pkgs/os-specific/linux/nvidia-x11/default.nix
···
12
12
13
13
let
14
14
15
15
-
# TODO: Remove the use of the beta driver for kernel 4.0 in
16
16
-
# nixos/modules/hardware/video/nvidia.nix when this driver supports
17
17
-
# kernel 4.0
18
18
-
versionNumber = "346.47";
15
15
+
versionNumber = "346.59";
19
16
20
17
# Policy: use the highest stable version as the default (on our master).
21
18
inherit (stdenv.lib) makeLibraryPath;
···
31
28
if stdenv.system == "i686-linux" then
32
29
fetchurl {
33
30
url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run";
34
34
-
sha256 = "0vkayz6nhw00kn2nvxvr9hsh4sa555nbbr9swlx5x1frziym48dv";
31
31
+
sha256 = "0a91mmv9846chyx6rbf3hx39gr344cffmgic45a9sf82rky87kv5";
35
32
}
36
33
else if stdenv.system == "x86_64-linux" then
37
34
fetchurl {
38
35
url = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-no-compat32.run";
39
39
-
sha256 = "0xqnjs54i281pnkky7dnz4n7jcn2vqjba0kra8da1wnyklm6gdni";
36
36
+
sha256 = "0rz7pdzdviz1086w8ks6qiv83ah84y13h3051xr1p4wa4kll2yac";
40
37
}
41
38
else throw "nvidia-x11 does not support platform ${stdenv.system}";
42
39