Commit 27e5b8e6 authored by Dominique Martinet's avatar Dominique Martinet
Browse files

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.
parent c87348b2
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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 { };