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;
}
];