build manual in CI

This commit is contained in:
Daniel Barlow 2023-05-21 20:53:05 +01:00
parent bc27f121d9
commit 7020fa99ee

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;