mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 10:49:48 +01:00
docs: update paths to make manual tests pass
This commit is contained in:
parent
25fd5eb4ba
commit
7bd59cb10c
3 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue