From 4ddb5778a35f1babf779a13adbeabc89f972d605 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 6 May 2023 17:45:28 +0100 Subject: [PATCH] libbpf: add some key reverse dependencies to passthru.tests --- pkgs/os-specific/linux/libbpf/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/os-specific/linux/libbpf/default.nix b/pkgs/os-specific/linux/libbpf/default.nix index d6bb9d4a431b..75bc6f42d296 100644 --- a/pkgs/os-specific/linux/libbpf/default.nix +++ b/pkgs/os-specific/linux/libbpf/default.nix @@ -4,7 +4,12 @@ , stdenv , zlib , lib + +# for passthru.tests +, knot-dns , nixosTests +, systemd +, tracee }: stdenv.mkDerivation rec { @@ -25,7 +30,9 @@ stdenv.mkDerivation rec { makeFlags = [ "PREFIX=$(out)" "-C src" ]; passthru.tests = { + inherit knot-dns tracee; bpf = nixosTests.bpf; + systemd = systemd.override { withLibBPF = true; }; }; postInstall = ''