nvidia_x11_beta: add patch to support Linux 4.10.x
thanks to bendlas for the review for pointing out a way to grab the patch remotely!
This commit is contained in:
parent
12083de992
commit
8799254eac
@ -42,6 +42,13 @@ let
|
|||||||
}
|
}
|
||||||
else throw "nvidia-x11 does not support platform ${stdenv.system}";
|
else throw "nvidia-x11 does not support platform ${stdenv.system}";
|
||||||
|
|
||||||
|
# patch to get the nvidia and nvidiaBeta driver to compile on kernel 4.10
|
||||||
|
patches = if versionOlder version "375"
|
||||||
|
then null
|
||||||
|
else [ (fetchurl {
|
||||||
|
url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/kernel_4.10.patch?h=packages/nvidia; sha256 = "0zhpx3baq2pca2pmz1af5cp2nzjxjx0j9w5xrdy204mnv3v2708z";
|
||||||
|
}) ];
|
||||||
|
|
||||||
inherit version useGLVND useProfiles;
|
inherit version useGLVND useProfiles;
|
||||||
inherit (stdenv) system;
|
inherit (stdenv) system;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user