* runInMachine: properly evaluate the machine configuration.
svn path=/nixos/trunk/; revision=25536
This commit is contained in:
parent
06a239a699
commit
2ac09578c0
@ -167,8 +167,8 @@ rec {
|
||||
}:
|
||||
let
|
||||
vm = buildVM { }
|
||||
[ ({ config, pkgs, ... }: { networking.hostName = "client"; })
|
||||
machine
|
||||
[ machine
|
||||
{ key = "hostname"; networking.hostName = "client"; }
|
||||
];
|
||||
|
||||
buildrunner = writeText "vm-build" ''
|
||||
|
@ -7,5 +7,5 @@ with import ../lib/testing.nix { inherit nixpkgs services system; };
|
||||
|
||||
runInMachine {
|
||||
drv = (import nixpkgs { }).aterm;
|
||||
machine = { config, pkgs, ... }: { };
|
||||
}
|
||||
machine = { config, pkgs, ... }: { services.sshd.enable = true; };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user