remote: set HOME for tests

This commit is contained in:
Richard Marko 2022-03-07 12:12:23 +01:00
parent a432ee295d
commit dfa55dc8ba

View File

@ -49,6 +49,7 @@ mockedEnv mEnvPath fp = (fp </>) <<$>>
, ("NIX_LOG_DIR" , "var" </> "log")
, ("NIX_STATE_DIR" , "var" </> "nix")
, ("NIX_CONF_DIR" , "etc")
, ("HOME" , "home")
-- , ("NIX_REMOTE", "daemon")
] <> foldMap (\x -> [("PATH", x)]) mEnvPath