beegfs: restrict kernel version

BeeGFS 6.17 fails to build with Linux 4.14.
This commit is contained in:
Orivej Desh 2017-12-31 07:07:16 +00:00
parent b7fdefc8a4
commit 74b950dc4f

View File

@ -16,6 +16,8 @@ in stdenv.mkDerivation {
nativeBuildInputs = [ which kmod ]; nativeBuildInputs = [ which kmod ];
buildInputs = kernel.moduleBuildDependencies;
makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build/" ]; makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build/" ];
postPatch = '' postPatch = ''
@ -39,5 +41,6 @@ in stdenv.mkDerivation {
platforms = [ "i686-linux" "x86_64-linux" ]; platforms = [ "i686-linux" "x86_64-linux" ];
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ markuskowa ]; maintainers = with maintainers; [ markuskowa ];
broken = versionAtLeast kernel.version "4.14";
}; };
} }