diff --git a/pkgs/os-specific/linux/scx/scx_rustscheds.nix b/pkgs/os-specific/linux/scx/scx_rustscheds.nix index a5601cd4fcc1..3600735f31d6 100644 --- a/pkgs/os-specific/linux/scx/scx_rustscheds.nix +++ b/pkgs/os-specific/linux/scx/scx_rustscheds.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage { nativeBuildInputs = [ pkg-config llvmPackages.clang + rustPlatform.bindgenHook ]; buildInputs = [ elfutils @@ -33,7 +34,6 @@ rustPlatform.buildRustPackage { ]; env = { - LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib"; BPF_CLANG = lib.getExe llvmPackages.clang; BPF_EXTRA_CFLAGS_PRE_INCL = lib.concatStringsSep " " [ "-I${scx.cscheds.dev}/libbpf/src/usr/include"