libguestfs: enable strictDeps

Move bison, flex, getopt from buildInputs to nativeBuildInputs as they
are build tools. Move crdkit, cpio, gperf, qemu to nativeBuildInputs.
Enable strictDeps.
This commit is contained in:
Alexandre Iooss 2021-08-28 00:56:19 +02:00 committed by Alyssa Ross
parent 07c3195664
commit 9c442fa901

View File

@ -19,15 +19,18 @@ stdenv.mkDerivation rec {
sha256 = "09dhmlbfdwirlmkasa28x69vqs5xndq0lnng6b4if76s6bfxrdvj";
};
nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ];
buildInputs = [
ncurses cpio gperf jansson
cdrkit flex bison qemu pcre augeas libxml2 acl libcap libcap_ng libconfig
systemd fuse yajl libvirt gmp readline file hivex db
numactl libapparmor getopt perlPackages.ModuleBuild
libtirpc
strictDeps = true;
nativeBuildInputs = [
autoreconfHook bison cdrkit cpio flex getopt gperf makeWrapper pkg-config qemu
] ++ (with perlPackages; [ perl libintl_perl GetoptLong SysVirt ])
++ (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml_libvirt gettext-stub ounit ])
++ (with ocamlPackages; [ ocaml findlib ]);
buildInputs = [
ncurses jansson
pcre augeas libxml2 acl libcap libcap_ng libconfig
systemd fuse yajl libvirt gmp readline file hivex db
numactl libapparmor perlPackages.ModuleBuild
libtirpc
] ++ (with ocamlPackages; [ ocamlbuild ocaml_libvirt gettext-stub ounit ])
++ lib.optional javaSupport jdk;
prePatch = ''