From 81e325c445b00a6dd646792e066258fdbdd8403b Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 7 Dec 2022 19:50:10 +0100 Subject: [PATCH] Tell hydra about the manual build output --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 5152aed..a8d10cd 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,11 @@ buildInputs = [ pkgs.python3Packages.hatchling ]; propagatedBuildInputs = [ pkgs.python3Packages.rsa ]; + postInstall = '' + mkdir -p $doc/nix-support + echo "doc manual $doc/share/doc/mitel-ommclient2/html/index.html" >> $doc/nix-support/hydra-build-products + ''; + pythonImportsCheck = [ "mitel_ommclient2" ]; }; default = self.packages.x86_64-linux.mitel-ommclient2;