From e1fc929879068b704472b9d66e3b6e73edf06837 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Wed, 31 Aug 2022 15:44:35 +0900 Subject: [PATCH] bcc/bpftrace: use llvm14 the default llvm on linux is llvm11, which works but is old and has some deprecation warnings when building bcc (and possibly some features disabled for bpftrace). Just use the latest current version --- pkgs/top-level/all-packages.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 953aa3f1c4b6..5c290e863bca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16751,12 +16751,14 @@ with pkgs; bpftools = callPackage ../os-specific/linux/bpftools { }; bcc = callPackage ../os-specific/linux/bcc { - python = pkgs.python3; + python = python3; libbpf = libbpf_1; + llvmPackages = llvmPackages_14; }; bpftrace = callPackage ../os-specific/linux/bpftrace { - libbpf = libbpf_1 + libbpf = libbpf_1; + llvmPackages = llvmPackages_14; }; bpm-tools = callPackage ../tools/audio/bpm-tools { };