diff --git a/pkgs/tools/networking/kea/default.nix b/pkgs/tools/networking/kea/default.nix index 1ad67e45f292..13540b7e6247 100644 --- a/pkgs/tools/networking/kea/default.nix +++ b/pkgs/tools/networking/kea/default.nix @@ -35,6 +35,12 @@ stdenv.mkDerivation rec { substituteInPlace ./src/bin/keactrl/Makefile.am --replace '@sysconfdir@' "$out/etc" ''; + outputs = [ + "out" + "doc" + "man" + ]; + configureFlags = [ "--enable-perfdhcp" "--enable-shell" @@ -47,7 +53,16 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook pkg-config + ] ++ (with python3.pkgs; [ + sphinxHook + sphinx-rtd-theme + ]); + + sphinxBuilders = [ + "html" + "man" ]; + sphinxRoot = "doc/sphinx"; buildInputs = [ boost