1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 03:09:47 +01:00

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 { stdenv, home-manager-render-docs, optionsDoc, lib, documentation-highlighter
, nmd, revision, home-manager-options }: , nmd, revision, home-manager-options }:
let outputPath = "share/docs/home-manager"; let outputPath = "share/doc/home-manager";
in stdenv.mkDerivation { in stdenv.mkDerivation {
name = "nixpkgs-manual"; name = "nixpkgs-manual";

View file

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

View file

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