nvidia-x11: don't patch things if libsOnly requested
This commit is contained in:
parent
0f4d515834
commit
d18f55269c
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ let
|
|||
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"
|
||||
patches = if libsOnly || 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";
|
||||
|
|
Loading…
Reference in a new issue