forked from mirrors/nixpkgs
linuxPackages.nvidia_x11: 515.76 -> 515.86.01, 470.141.03 -> 470.161.03, 390.154 -> 390.157
This commit is contained in:
parent
2cb8f1a0ac
commit
7331988b07
|
@ -27,13 +27,11 @@ rec {
|
||||||
stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest;
|
stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest;
|
||||||
|
|
||||||
production = generic {
|
production = generic {
|
||||||
version = "515.76";
|
version = "515.86.01";
|
||||||
sha256_64bit = "sha256-xqKhjOuWX0mAvOTlzqNv1iLNwaXzGg6xu9NZqen2v0Q=";
|
sha256_64bit = "sha256-FBd34covEel9jTMmAhPxvjJ+tzkiriL03atAS7LvRmQ=";
|
||||||
openSha256 = "sha256-843l42atzaTm4pX5UC/JZjXAvhwmBpE8k3SQFEFdcdY=";
|
openSha256 = "sha256-9QVq6eN+usbzMb0hYvAFPlyr6MDYHvgWPz2orm+5QFc=";
|
||||||
settingsSha256 = "sha256-2GdqmuvROLa8xFfyFY/F4YzEBq+SlVIYM4CVEARh9MI=";
|
settingsSha256 = "sha256-I8CE4EywZrsqzEy7plEG3bNfzTiT+vZJ1sqEQBrtLUQ=";
|
||||||
persistencedSha256 = "sha256-nIfP7xBIVy+BUa9VBCNQ9v5RT4l4S9X0GHLpNiN/WRg=";
|
persistencedSha256 = "sha256-vjn315k7i16U1NjY3EB0pw6sLddEcnKaT9CrHOCY268=";
|
||||||
|
|
||||||
brokenOpen = kernelModVersion == "5.4" && kernel.isHardened;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
latest = selectHighestVersion production (generic {
|
latest = selectHighestVersion production (generic {
|
||||||
|
@ -73,37 +71,19 @@ rec {
|
||||||
|
|
||||||
# Last one supporting Kepler architecture
|
# Last one supporting Kepler architecture
|
||||||
legacy_470 = generic {
|
legacy_470 = generic {
|
||||||
version = "470.141.03";
|
version = "470.161.03";
|
||||||
sha256_64bit = "sha256-vpjSR6Q9dJGmW/3Jl/tlMeFZQ0brEqD6qgRGcs21cJ8=";
|
sha256_64bit = "sha256-Xagqf4x254Hn1/C+e3mNtNNE8mvU+s+avPPHHHH+dkA=";
|
||||||
settingsSha256 = "sha256-OWSUmUBqAxsR3e6EPzcIotpd6nm4Le8hIj4pzJ5WnhE=";
|
settingsSha256 = "sha256-ryUSiI8PsY3knkJLg0k1EmyYW5OWkhuZma/hmXNuojw=";
|
||||||
persistencedSha256 = "sha256-XsGYGgucDhvPpqtM9IBLfo3tbn7sIobpo5JW/XqOkTo=";
|
persistencedSha256 = "sha256-/2h90Gq9NQd9Q+9eLVE6vrxXmINXxlLcSNOHxKToOEE=";
|
||||||
|
|
||||||
broken = kernel.kernelAtLeast "6.0";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Last one supporting x86
|
# Last one supporting x86
|
||||||
legacy_390 = generic {
|
legacy_390 = generic {
|
||||||
version = "390.154";
|
version = "390.157";
|
||||||
sha256_32bit = "sha256-XuhxuEvZ8o4iW3o+Xxvh+eLQBn83uNa40MJRcC8G0+c=";
|
sha256_32bit = "sha256-VdZeCkU5qct5YgDF8Qgv4mP7CVHeqvlqnP/rioD3B5k=";
|
||||||
sha256_64bit = "sha256-9EICgMVSEJZMAI1bck8mFYRdR61MnAXY7SamL8YzH3w=";
|
sha256_64bit = "sha256-W+u8puj+1da52BBw+541HxjtxTSVJVPL3HHo/QubMoo=";
|
||||||
settingsSha256 = "sha256-iNT6//EvtasivDfXPY6j6OrpymbslO/q45uKd5smFUw=";
|
settingsSha256 = "sha256-uJZO4ak/w/yeTQ9QdXJSiaURDLkevlI81de0q4PpFpw=";
|
||||||
persistencedSha256 = "sha256-y+MkudjQBkuVzHrY/rh7IGRN8VjLsJQ3a+fYDXdrzzk=";
|
persistencedSha256 = "sha256-NuqUQbVt80gYTXgIcu0crAORfsj9BCRooyH3Gp1y1ns=";
|
||||||
|
|
||||||
broken = kernel.kernelAtLeast "5.18";
|
|
||||||
|
|
||||||
patches =
|
|
||||||
let patch390 = o:
|
|
||||||
(lib.optional (kernelModVersion == o.version) (fetchpatch {
|
|
||||||
inherit (o) sha256;
|
|
||||||
url = "https://gitlab.com/herecura/packages/nvidia-390xx-dkms/-/raw/herecura/kernel-${o.version}.patch";
|
|
||||||
}));
|
|
||||||
in
|
|
||||||
[]
|
|
||||||
++ (patch390 {
|
|
||||||
version = "5.18";
|
|
||||||
sha256 = "sha256-A6itoozgDWmXKQAU0D8bT2vUaZqh5G5Tg3d3E+CLOTs=";
|
|
||||||
})
|
|
||||||
;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
legacy_340 = generic {
|
legacy_340 = generic {
|
||||||
|
|
Loading…
Reference in a new issue