prl-tools: assert linux kernel version < 4.15

This commit is contained in:
Luke Adams 2018-03-03 10:36:17 -06:00
parent 45fa79d43b
commit 552105d502

View File

@ -6,6 +6,8 @@
}:
assert (!libsOnly) -> kernel != null;
# Disable for kernels 4.15 and above due to compatibility issues
assert kernel != null -> stdenv.lib.versionOlder kernel.version "4.15";
let xorgFullVer = (builtins.parseDrvName xorg.xorgserver.name).version;
xorgVer = lib.concatStringsSep "." (lib.take 2 (lib.splitString "." xorgFullVer));