linuxPackages.bpftrace: fix llvm build

This commit is contained in:
Jonathan Ringer 2021-05-08 16:50:12 -07:00 committed by Jonathan Ringer
parent c07fad9b40
commit 0ef9059dd4

View file

@ -16,12 +16,12 @@ stdenv.mkDerivation rec {
};
buildInputs = with llvmPackages;
[ llvm clang-unwrapped
[ llvm libclang
kernel elfutils libelf bcc
libbpf libbfd libopcodes
];
nativeBuildInputs = [ cmake pkg-config flex bison ]
nativeBuildInputs = [ cmake pkg-config flex bison llvmPackages.llvm.dev ]
# libelf is incompatible with elfutils-libelf
++ lib.filter (x: x != libelf) kernel.moduleBuildDependencies;