qemu-afl: various cleanups

This commit is contained in:
Jörg Thalheim 2019-01-05 17:01:50 +01:00
parent 5a09820a13
commit 5da3d039d4
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -36,12 +36,14 @@ stdenv.mkDerivation rec {
--replace "../patches/afl-qemu-cpu-inl.h" "afl-qemu-cpu-inl.h" --replace "../patches/afl-qemu-cpu-inl.h" "afl-qemu-cpu-inl.h"
''; '';
buildInputs = nativeBuildInputs = [
[ python2 zlib pkgconfig glib pixman ncurses perl attr libcap python2 perl pkgconfig flex bison autoconf texinfo
vde2 texinfo libuuid flex bison lzo snappy autoconf ];
libcap_ng gnutls
] buildInputs = [
++ optionals (hasSuffix "linux" stdenv.hostPlatform.system) [ libaio ]; zlib glib pixman ncurses attr libcap
vde2 libuuid lzo snappy libcap_ng gnutls
] ++ optionals (stdenv.isLinux) [ libaio ];
enableParallelBuilding = true; enableParallelBuilding = true;