From 8fdbe54567bdd1b904fbde4c7b5287bdf87dc371 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..da543ba 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,11 @@ buildInputs = [ pkgs.python3Packages.hatchling ]; propagatedBuildInputs = [ pkgs.python3Packages.rsa ]; + postInstall = '' + mkdir -p $out/nix-support + echo "doc manual $doc/share/doc/mitel-ommclient2/html/index.html" >> $out/nix-support/hydra-build-products + ''; + pythonImportsCheck = [ "mitel_ommclient2" ]; }; default = self.packages.x86_64-linux.mitel-ommclient2;