From 7bcf6b15c3fdddafeda13f65b3cd4a422dc52cd3 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 21 May 2023 21:27:52 +0100 Subject: [PATCH] declare build product --- ci.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ci.nix b/ci.nix index a3d113b..657f481 100644 --- a/ci.nix +++ b/ci.nix @@ -29,12 +29,14 @@ let nativeBuildInputs = with pkgs; [ gnumake sphinx ]; src = ./doc; buildPhase = '' - make html + make html ''; installPhase = '' - dest=$out/share/doc/liminix - mkdir -p $dest - cp -a _build/html/* $dest + mkdir -p $out/nix-support $out/share/doc/ + # (cd _build && tar cf $out/share/doc/liminix_manual.tar html) + 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 {