1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 23:24:35 +00:00
nixpkgs/tests/run-in-machine.nix
Eelco Dolstra 2ac09578c0 * runInMachine: properly evaluate the machine configuration.
svn path=/nixos/trunk/; revision=25536
2011-01-13 11:39:03 +00:00

12 lines
284 B
Nix

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