1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 03:39: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 committed by Mikilio
parent 8255b13aa0
commit 313c2a6416
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F
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
''; '';
}; };
} }