1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 00:18:30 +02:00

tests: avoid dependency on documentation

This commit is contained in:
Robert Helgesson 2020-06-12 21:59:51 +02:00
parent 21fbc5e5ad
commit edc3bede6e
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -15,12 +15,16 @@ let
inherit lib pkgs;
check = false;
} ++ [
# Fix impurities. Without these some of the user's environment
# will leak into the tests through `builtins.getEnv`.
{
# Fix impurities. Without these some of the user's environment
# will leak into the tests through `builtins.getEnv`.
xdg.enable = true;
home.username = "hm-user";
home.homeDirectory = "/home/hm-user";
# Avoid including documentation since this will cause
# unnecessary rebuilds of the tests.
manual.manpages.enable = false;
}
];