bcc/bpftrace: use default llvmPackages

In practice, that is llvmPackages_16 -> llvmPackages_17.

This doesn't seem to bring anything useful, but we shouldn't pull in
an older llvm version for no reason as that'll increase system closure
size

Back when we set a specific version the default linux version was very
old and having a more modern version brought in some candies, but it
doesn't seem to be as true now clang supports bpf well.

Conversely the latest llvm 18 isn't supported yet by the latest release
of bpftrace, but it works with bcc's, and bpftrace master also has
support so it won't be far behind: the nixos default version shouldn't
break, so let's use it.
This commit is contained in:
Dominique Martinet 2024-05-10 21:44:12 +09:00
parent c87348b2c1
commit 27e5b8e6ec

View File

@ -18318,14 +18318,6 @@ with pkgs;
bpftools = callPackage ../os-specific/linux/bpftools { };
bcc = callPackage ../by-name/bc/bcc/package.nix {
llvmPackages = llvmPackages_16;
};
bpftrace = callPackage ../by-name/bp/bpftrace/package.nix {
llvmPackages = llvmPackages_16;
};
bpm-tools = callPackage ../tools/audio/bpm-tools { };
byacc = callPackage ../development/tools/parsing/byacc { };