nixpkgs-suyu/tests/run-in-machine.nix
Eelco Dolstra 27a54b1761 * Fix the runInMachine test.
svn path=/nixos/trunk/; revision=28428
2011-08-09 14:06:04 +00:00

10 lines
247 B
Nix

{ nixpkgs ? ../../nixpkgs
, system ? builtins.currentSystem
}:
with import ../lib/testing.nix { inherit nixpkgs system; };
runInMachine {
drv = (import nixpkgs { }).aterm;
machine = { config, pkgs, ... }: { services.sshd.enable = true; };
}