prl-tools: assert linux kernel version < 4.15
This commit is contained in:
parent
45fa79d43b
commit
552105d502
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user