Merge pull request #122857 from dguibert/dg/perf_kernel_3_12

perf: define only if kernel version > 3.12
This commit is contained in:
Samuel Dionne-Riel 2021-08-10 02:31:55 -04:00 committed by GitHub
commit 64324abe15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21383,7 +21383,7 @@ with pkgs;
oci-seccomp-bpf-hook = if lib.versionAtLeast kernel.version "5.4" then callPackage ../os-specific/linux/oci-seccomp-bpf-hook { } else null;
perf = callPackage ../os-specific/linux/kernel/perf.nix { };
perf = if lib.versionAtLeast kernel.version "3.12" then callPackage ../os-specific/linux/kernel/perf.nix { } else null;
phc-intel = if lib.versionAtLeast kernel.version "4.10" then callPackage ../os-specific/linux/phc-intel { } else null;