From 97f1e13ce1cf598f2be3f3e0c23dd4cbce798bc9 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 15 Dec 2025 10:51:30 +0100 Subject: [PATCH] libbpf: fix build with structuredAttrs --- pkgs/os-specific/linux/libbpf/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/libbpf/default.nix b/pkgs/os-specific/linux/libbpf/default.nix index 86c256760210..9d0befcd7330 100644 --- a/pkgs/os-specific/linux/libbpf/default.nix +++ b/pkgs/os-specific/linux/libbpf/default.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; makeFlags = [ "PREFIX=$(out)" - "-C src" + "--directory=src" ]; passthru.tests = { @@ -59,6 +59,8 @@ stdenv.mkDerivation rec { # outputs = [ "out" "dev" ]; + __structuredAttrs = true; + meta = { description = "Library for loading eBPF programs and reading and manipulating eBPF objects from user-space"; homepage = "https://github.com/libbpf/libbpf";