this repo has no description
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

bors[bot]
Pacman99
and committed by
GitHub
82b73cf6 7a825bbe

+2 -2
+1 -1
lib/devos/mkHosts.nix
··· 90 90 lib = { 91 91 lib = { inherit specialArgs; }; 92 92 lib.testModule = { 93 - imports = builtins.attrValues modules; 93 + imports = [ local ] ++ builtins.attrValues modules; 94 94 }; 95 95 }; 96 96 in
+1 -1
lib/pkgs-lib/tests/default.nix
··· 48 48 }; 49 49 50 50 testScript = '' 51 - machine.systemctl("is-system-running --wait") 51 + ${host.config.networking.hostName}.systemctl("is-system-running --wait") 52 52 ''; 53 53 }; 54 54