From 7f8c70731206c8caf3afae3467be24ddd42df3e2 Mon Sep 17 00:00:00 2001 From: Artturin Date: Sat, 25 Feb 2023 22:54:20 +0200 Subject: [PATCH] kmod: enable strictDeps gtk-doc is already behind withDevdoc so gtk-doc in buildInputs works perhaps an improvement would be to apply https://git.yoctoproject.org/poky/plain/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch --- pkgs/os-specific/linux/kmod/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kmod/default.nix b/pkgs/os-specific/linux/kmod/default.nix index 669a145358e9..0843ca3556ae 100644 --- a/pkgs/os-specific/linux/kmod/default.nix +++ b/pkgs/os-specific/linux/kmod/default.nix @@ -26,12 +26,15 @@ in stdenv.mkDerivation rec { outputs = [ "out" "dev" "lib" ] ++ lib.optional withDevdoc "devdoc"; + strictDeps = true; nativeBuildInputs = [ autoconf automake docbook_xsl libtool libxslt pkg-config docbook_xml_dtd_42 # for the man pages ] ++ lib.optionals withDevdoc [ docbook_xml_dtd_43 gtk-doc ]; - buildInputs = [ xz zstd ]; + buildInputs = [ xz zstd ] + # gtk-doc is looked for with pkg-config + ++ lib.optionals withDevdoc [ gtk-doc ]; preConfigure = '' ./autogen.sh