docs: update paths to make manual tests pass

This commit is contained in:
Viktor Kronvall 2023-11-23 23:18:27 +09:00
parent 25fd5eb4ba
commit 7bd59cb10c
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{ stdenv, home-manager-render-docs, optionsDoc, lib, documentation-highlighter
, nmd, revision, home-manager-options }:
let outputPath = "share/docs/home-manager";
let outputPath = "share/doc/home-manager";
in stdenv.mkDerivation {
name = "nixpkgs-manual";

View file

@ -18,7 +18,7 @@ let
echo "$0: unable to start a web browser; please set \$BROWSER"
exit 1
else
exec "$BROWSER" "${html}/share/docs/${pathName}/index.html"
exec "$BROWSER" "${html}/share/doc/${pathName}/index.html"
fi
'';

View file

@ -12,8 +12,8 @@
assertFileExists home-path/share/doc/home-manager/index.html
assertFileExists home-path/share/doc/home-manager/options.html
assertFileExists home-path/share/doc/home-manager/options.json
assertFileExists home-path/share/man/man1/home-manager.1.gz
assertFileExists home-path/share/man/man5/home-configuration.nix.5.gz
assertFileExists home-path/share/man/man1/home-manager.1
assertFileExists home-path/share/man/man5/home-configuration.nix.5
'';
};
}