summary refs log tree commit diff
path: root/pkgs/development/libraries/libguestfs
diff options
context:
space:
mode:
authorAlexandre Iooss <erdnaxe@crans.org>2021-08-28 00:56:19 +0200
committerAlyssa Ross <hi@alyssa.is>2021-08-28 10:53:44 +0000
commit9c442fa9014640a0dcc771635db6cc93f6c8f0f2 (patch)
tree6a6010e42df0f693833c8ee99a0e3e117385687e /pkgs/development/libraries/libguestfs
parent07c3195664eaf0d927965ef75e850bcdb0b550db (diff)
downloadnixpkgs-9c442fa9014640a0dcc771635db6cc93f6c8f0f2.tar
nixpkgs-9c442fa9014640a0dcc771635db6cc93f6c8f0f2.tar.gz
nixpkgs-9c442fa9014640a0dcc771635db6cc93f6c8f0f2.tar.bz2
nixpkgs-9c442fa9014640a0dcc771635db6cc93f6c8f0f2.tar.lz
nixpkgs-9c442fa9014640a0dcc771635db6cc93f6c8f0f2.tar.xz
nixpkgs-9c442fa9014640a0dcc771635db6cc93f6c8f0f2.tar.zst
nixpkgs-9c442fa9014640a0dcc771635db6cc93f6c8f0f2.zip
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.
Diffstat (limited to 'pkgs/development/libraries/libguestfs')
-rw-r--r--pkgs/development/libraries/libguestfs/default.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/development/libraries/libguestfs/default.nix b/pkgs/development/libraries/libguestfs/default.nix
index e17d0fd3363..9715a26dcd8 100644
--- a/pkgs/development/libraries/libguestfs/default.nix
+++ b/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 = ''