From aef2761f9fba079f33f41337b443350cb314eeef Mon Sep 17 00:00:00 2001 From: clerie Date: Sat, 15 Oct 2022 22:02:58 +0200 Subject: [PATCH] build documentation with flake too --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index 08ea781..92a1431 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,15 @@ src = ./.; + outputs = [ + "out" + "doc" + ]; + + nativeBuildInputs = [ + pkgs.python3Packages.sphinxHook + ]; + format = "pyproject"; buildInputs = [ pkgs.python3Packages.hatchling ];