diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-08-03 08:36:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-03 08:36:24 +0200 |
commit | db064602573ca695cb028763a865b26492d8b4e4 (patch) | |
tree | 4e204517533daec7cbe12da82c8ed60dd7ecb305 /pkgs | |
parent | 61a5c24209b66deaa6ebf6de5aa4dedbba89c597 (diff) | |
parent | 8eb4b3af105c9501a8842df706b40bf9a688ea0c (diff) |
Merge pull request #17447 from FRidh/nvidia
nvidia-x11: fix driSupport32Bit
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/nvidia-x11/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/nvidia-x11/default.nix b/pkgs/os-specific/linux/nvidia-x11/default.nix index 5edf03bf409a..cbd4e466b702 100644 --- a/pkgs/os-specific/linux/nvidia-x11/default.nix +++ b/pkgs/os-specific/linux/nvidia-x11/default.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation { [ gtk atk pango glib gdk_pixbuf cairo ] ); programPath = makeLibraryPath [ xorg.libXv ]; - patches = if versionAtLeast kernel.version "4.7" then [ ./365.35-kernel-4.7.patch ] else []; + patches = if (!libsOnly) && (versionAtLeast kernel.dev.version "4.7") then [ ./365.35-kernel-4.7.patch ] else []; buildInputs = [ perl nukeReferences ]; |