2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 06:03:40 +00:00
nixpkgs/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

11 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; };
}