nvidiabl: fix for other kernel versions than current

It was using the version of currently *running* kernel (impurely).
Close #6869.
This commit is contained in:
Yorick van Pelt 2015-03-18 02:17:24 +01:00 committed by Vladimír Čunát
parent a2e5e3dbf9
commit a2dc00c177

View File

@ -15,6 +15,7 @@ stdenv.mkDerivation {
makeFlags = [
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
"DESTDIR=$(out)"
"KVER=${kernel.modDirVersion}"
];
meta = {