Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #68023 from ambrop72/phc-intel-assert-fix
Browse files Browse the repository at this point in the history
phc-intel: Don't define the package if the assert would fail.
  • Loading branch information
flokli committed Sep 4, 2019
2 parents 29e4048 + 97a2ef3 commit af2f81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -15930,7 +15930,7 @@ in

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
prl-tools = if stdenv.lib.versionOlder kernel.version "4.15" then callPackage ../os-specific/linux/prl-tools { } else null;
Expand Down

0 comments on commit af2f81f

Please sign in to comment.