From 7d7fc6900462858a9311dce474b632eb3c9ba45d Mon Sep 17 00:00:00 2001 From: Fernando Rodrigues Date: Mon, 5 Aug 2024 18:14:30 +0000 Subject: [PATCH] xen: build full html documentation Xen not only has manual pages, but also a full documentation written in HTML files. By adding ImageMagick, the `fig2dev` build doesn't fail, so we can have the docs build in the $doc output. This also fixes the Hydra build, but who cares about that? We have good Xen docs now! Signed-off-by: Fernando Rodrigues --- pkgs/applications/virtualization/xen/generic.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/virtualization/xen/generic.nix b/pkgs/applications/virtualization/xen/generic.nix index c6f5d19d4351..12a7820059bd 100644 --- a/pkgs/applications/virtualization/xen/generic.nix +++ b/pkgs/applications/virtualization/xen/generic.nix @@ -59,6 +59,7 @@ versionDefinition: # Documentation fig2dev, + imagemagick, pandoc, # Scripts @@ -273,6 +274,7 @@ stdenv.mkDerivation (finalAttrs: { outputs = [ "out" # TODO: Split $out in $bin for binaries and $lib for libraries. "man" # Manual pages for Xen userspace utilities. + "doc" # The full Xen documentation in HTML format. "dev" # Development headers. "boot" # xen.gz kernel, policy file if Flask is enabled, xen.efi if EFI is enabled. ]; @@ -293,6 +295,7 @@ stdenv.mkDerivation (finalAttrs: { bison cmake fig2dev + imagemagick # Causes build failures in Hydra related to fig generation if not included. flex pandoc pkg-config