Merge #261
261: profilesTest/mkHosts: include host's configuration r=blaggacao a=Pacman99 Now that profiles test is done dynamically - first available host - we likely need to include the host configuration itself. I have profiles that depend on the domain being set, which how I ran into this, and I think other problems might occur if we don't include the full host in the profiles test. targeting core, since its a small bug fix and was planned to make into a release. Co-authored-by: Pacman99 <pachum99@gmail.com>
This commit is contained in:
commit
82b73cf63a
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ let
|
||||||
lib = {
|
lib = {
|
||||||
lib = { inherit specialArgs; };
|
lib = { inherit specialArgs; };
|
||||||
lib.testModule = {
|
lib.testModule = {
|
||||||
imports = builtins.attrValues modules;
|
imports = [ local ] ++ builtins.attrValues modules;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -48,7 +48,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
machine.systemctl("is-system-running --wait")
|
${host.config.networking.hostName}.systemctl("is-system-running --wait")
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue