mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
nvidia-x11: don't patch things if libsOnly requested
This commit is contained in:
parent
0f4d515834
commit
d18f55269c
@ -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 New Issue
Block a user