nvidia binary driver: patch for linux 3.10

This commit is contained in:
Mathijs Kwik 2013-07-15 17:03:55 +02:00
parent 5dbe2627a2
commit c382681b1b
1 changed files with 7 additions and 3 deletions

View File

@ -8,14 +8,18 @@
with stdenv.lib;
let versionNumber = "319.32"; in
let versionNumber = "319.32";
kernel310patch = fetchurl {
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/nvidia-linux-3.10.patch?h=packages/nvidia";
sha256 = "0nhzg6jdk9sf1vzj519gqi8a2n9xydhz2bcz472pss2cfgbc1ahb";
};
stdenv.mkDerivation {
in stdenv.mkDerivation {
name = "nvidia-x11-${versionNumber}${optionalString (!libsOnly) "-${kernelDev.version}"}";
builder = ./builder.sh;
patches = [ ./version-test.patch ];
patches = [ ./version-test.patch kernel310patch ];
src =
if stdenv.system == "i686-linux" then