build manual in CI
This commit is contained in:
parent
bc27f121d9
commit
7020fa99ee
1 changed files with 13 additions and 0 deletions
13
ci.nix
13
ci.nix
|
@ -24,6 +24,19 @@ let
|
||||||
device = import (liminix + "/devices/qemu");
|
device = import (liminix + "/devices/qemu");
|
||||||
liminix-config = vanilla;
|
liminix-config = vanilla;
|
||||||
}).buildEnv;
|
}).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 {
|
with-unstable = (import liminix {
|
||||||
nixpkgs = unstable;
|
nixpkgs = unstable;
|
||||||
inherit borderVmConf;
|
inherit borderVmConf;
|
||||||
|
|
Loading…
Reference in a new issue