1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01: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; inherit lib pkgs;
check = false; 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; 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;
} }
]; ];