Merge pull request #68023 from ambrop72/phc-intel-assert-fix
phc-intel: Don't define the package if the assert would fail.
This commit is contained in:
commit
af2f81f227
@ -15930,7 +15930,7 @@ in
|
|||||||
|
|
||||||
perf = callPackage ../os-specific/linux/kernel/perf.nix { };
|
perf = callPackage ../os-specific/linux/kernel/perf.nix { };
|
||||||
|
|
||||||
phc-intel = callPackage ../os-specific/linux/phc-intel { };
|
phc-intel = if stdenv.lib.versionAtLeast kernel.version "4.10" then callPackage ../os-specific/linux/phc-intel { } else null;
|
||||||
|
|
||||||
# Disable for kernels 4.15 and above due to compatibility issues
|
# Disable for kernels 4.15 and above due to compatibility issues
|
||||||
prl-tools = if stdenv.lib.versionOlder kernel.version "4.15" then callPackage ../os-specific/linux/prl-tools { } else null;
|
prl-tools = if stdenv.lib.versionOlder kernel.version "4.15" then callPackage ../os-specific/linux/prl-tools { } else null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user