oci-seccomp-bpf-hook: move out of linuxPackages

oci-seccomp-bpf-hook does not depend on kernel and does not need to be a
linuxPackage attribute.

keep inherited attribute for backwards compability
This commit is contained in:
Dominique Martinet 2022-11-05 10:32:08 +09:00
parent 126dd81c7b
commit d54760e57f
2 changed files with 3 additions and 2 deletions

View File

@ -5092,6 +5092,8 @@ with pkgs;
oci-cli = callPackage ../tools/admin/oci-cli { };
oci-seccomp-bpf-hook = callPackage ../os-specific/linux/oci-seccomp-bpf-hook { };
ocrmypdf = with python3.pkgs; toPythonApplication ocrmypdf;
ocrfeeder = callPackage ../applications/graphics/ocrfeeder { };

View File

@ -254,6 +254,7 @@ in {
# Obsolete aliases (these packages do not depend on the kernel).
inherit (pkgs) odp-dpdk pktgen; # added 2018-05
inherit (pkgs) bcc bpftrace; # added 2021-12
inherit (pkgs) oci-seccomp-bpf-hook; # added 2022-11
acpi_call = callPackage ../os-specific/linux/acpi-call {};
@ -421,8 +422,6 @@ in {
netatop = callPackage ../os-specific/linux/netatop { };
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 { };
phc-intel = if lib.versionAtLeast kernel.version "4.10" then callPackage ../os-specific/linux/phc-intel { } else null;