mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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:
parent
07c3195664
commit
9c442fa901
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user