build manual in CI

This commit is contained in:
Daniel Barlow 2023-05-21 20:53:05 +01:00
parent bc27f121d9
commit 7020fa99ee
1 changed files with 13 additions and 0 deletions

13
ci.nix
View File

@ -24,6 +24,19 @@ let
device = import (liminix + "/devices/qemu");
liminix-config = vanilla;
}).buildEnv;
doc = pkgs.stdenv.mkDerivation {
name = "liminix-doc";
nativeBuildInputs = with pkgs; [ gnumake sphinx ];
src = ./doc;
buildPhase = ''
make html
'';
installPhase = ''
dest=$out/share/doc/liminix
mkdir -p $dest
cp -a _build/html/* $dest
'';
};
with-unstable = (import liminix {
nixpkgs = unstable;
inherit borderVmConf;