diff --git a/flake.nix b/flake.nix index e51ea24..22f5cc1 100644 --- a/flake.nix +++ b/flake.nix @@ -104,7 +104,11 @@ inherit cargoArtifacts; cargoClippyExtraArgs = "--all-targets -- --deny warnings"; }); - mnn-docs = craneLib.cargoDoc (commonArgs // {inherit cargoArtifacts;}); + mnn-docs = craneLib.cargoDoc (commonArgs + // { + inherit cargoArtifacts; + cargoDocExtraArgs = "-p mnn -p mnn-sys"; + }); mnn-fmt = craneLib.cargoFmt {inherit src;}; mnn-toml-fmt = craneLib.taploFmt { src = pkgs.lib.sources.sourceFilesBySuffices src [".toml"];