linuxPackages.bcc: fix llvm build

This commit is contained in:
Jonathan Ringer 2021-05-08 16:05:05 -07:00 committed by Jonathan Ringer
parent 76ab96811b
commit a748e4f47e

View File

@ -19,7 +19,7 @@ python.pkgs.buildPythonApplication rec {
format = "other"; format = "other";
buildInputs = with llvmPackages; [ buildInputs = with llvmPackages; [
llvm clang-unwrapped kernel llvm llvm.dev libclang kernel
elfutils luajit netperf iperf elfutils luajit netperf iperf
systemtap.stapBuild flex bash systemtap.stapBuild flex bash
libbpf libbpf
@ -32,7 +32,7 @@ python.pkgs.buildPythonApplication rec {
]; ];
propagatedBuildInputs = [ python.pkgs.netaddr ]; propagatedBuildInputs = [ python.pkgs.netaddr ];
nativeBuildInputs = [ makeWrapper cmake flex bison ] nativeBuildInputs = [ makeWrapper cmake flex bison llvmPackages.llvm.dev ]
# libelf is incompatible with elfutils-libelf # libelf is incompatible with elfutils-libelf
++ lib.filter (x: x != libelf) kernel.moduleBuildDependencies; ++ lib.filter (x: x != libelf) kernel.moduleBuildDependencies;