forked from DGNum/liminix
declare build product
This commit is contained in:
parent
7020fa99ee
commit
7bcf6b15c3
1 changed files with 6 additions and 4 deletions
10
ci.nix
10
ci.nix
|
@ -29,12 +29,14 @@ let
|
||||||
nativeBuildInputs = with pkgs; [ gnumake sphinx ];
|
nativeBuildInputs = with pkgs; [ gnumake sphinx ];
|
||||||
src = ./doc;
|
src = ./doc;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make html
|
make html
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
dest=$out/share/doc/liminix
|
mkdir -p $out/nix-support $out/share/doc/
|
||||||
mkdir -p $dest
|
# (cd _build && tar cf $out/share/doc/liminix_manual.tar html)
|
||||||
cp -a _build/html/* $dest
|
cp -a _build/html $out/share/doc/liminix
|
||||||
|
echo "file source-dist \"$out/share/doc/liminix\"" \
|
||||||
|
> $out/nix-support/hydra-build-products
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
with-unstable = (import liminix {
|
with-unstable = (import liminix {
|
||||||
|
|
Loading…
Reference in a new issue