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.
launchpad/nixpkgs/master
Alexandre Iooss 3 years ago committed by Alyssa Ross
parent 07c3195664
commit 9c442fa901
  1. 15
      pkgs/development/libraries/libguestfs/default.nix

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

Loading…
Cancel
Save