mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
tests: avoid dependency on documentation
This commit is contained in:
parent
21fbc5e5ad
commit
edc3bede6e
1 changed files with 6 additions and 2 deletions
|
@ -15,12 +15,16 @@ let
|
||||||
inherit lib pkgs;
|
inherit lib pkgs;
|
||||||
check = false;
|
check = false;
|
||||||
} ++ [
|
} ++ [
|
||||||
|
{
|
||||||
# Fix impurities. Without these some of the user's environment
|
# Fix impurities. Without these some of the user's environment
|
||||||
# will leak into the tests through `builtins.getEnv`.
|
# will leak into the tests through `builtins.getEnv`.
|
||||||
{
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
home.username = "hm-user";
|
home.username = "hm-user";
|
||||||
home.homeDirectory = "/home/hm-user";
|
home.homeDirectory = "/home/hm-user";
|
||||||
|
|
||||||
|
# Avoid including documentation since this will cause
|
||||||
|
# unnecessary rebuilds of the tests.
|
||||||
|
manual.manpages.enable = false;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue