Merge pull request #122857 from dguibert/dg/perf_kernel_3_12

perf: define only if kernel version > 3.12

authored by

Samuel Dionne-Riel and committed by
GitHub
64324abe ce81702e

+1 -1
+1 -1
pkgs/top-level/all-packages.nix
··· 21383 21383 21384 21384 oci-seccomp-bpf-hook = if lib.versionAtLeast kernel.version "5.4" then callPackage ../os-specific/linux/oci-seccomp-bpf-hook { } else null; 21385 21385 21386 - perf = callPackage ../os-specific/linux/kernel/perf.nix { }; 21386 + perf = if lib.versionAtLeast kernel.version "3.12" then callPackage ../os-specific/linux/kernel/perf.nix { } else null; 21387 21387 21388 21388 phc-intel = if lib.versionAtLeast kernel.version "4.10" then callPackage ../os-specific/linux/phc-intel { } else null; 21389 21389