diff --git a/docs/docgen.nix b/docs/docgen.nix index c502528..20f230c 100644 --- a/docs/docgen.nix +++ b/docs/docgen.nix @@ -7,15 +7,18 @@ ".*flake\\.nix$" "^docs/.*" - ] + ], }: + stdenvNoCC.mkDerivation { name = "SkyOS-book"; src = ./.; + nativeBuildInputs = [ mdbook nixdoc ]; + patchPhase = let relPath = file: lib.removePrefix (toString ../. + "/") (toString file);