summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-04 14:00:58 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-04 14:28:09 +0100
commitc7ee9171979a5cb36944f3b6cbf392cbb312ba5c (patch)
tree80e73b2ac8724e06860971c815891a08b5491b8d /nixos
parent18ac683bbcfe60fd2dabf747903f33338326d294 (diff)
downloadnixlib-c7ee9171979a5cb36944f3b6cbf392cbb312ba5c.tar
nixlib-c7ee9171979a5cb36944f3b6cbf392cbb312ba5c.tar.gz
nixlib-c7ee9171979a5cb36944f3b6cbf392cbb312ba5c.tar.bz2
nixlib-c7ee9171979a5cb36944f3b6cbf392cbb312ba5c.tar.lz
nixlib-c7ee9171979a5cb36944f3b6cbf392cbb312ba5c.tar.xz
nixlib-c7ee9171979a5cb36944f3b6cbf392cbb312ba5c.tar.zst
nixlib-c7ee9171979a5cb36944f3b6cbf392cbb312ba5c.zip
Fix tests.runInMachine evaluation
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/run-in-machine.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/nixos/tests/run-in-machine.nix b/nixos/tests/run-in-machine.nix
index 7f6e6a6dc573..d1102f8d4073 100644
--- a/nixos/tests/run-in-machine.nix
+++ b/nixos/tests/run-in-machine.nix
@@ -2,9 +2,7 @@
 
 with import ../lib/testing.nix { inherit system; };
 
-{
-  test = runInMachine {
-    drv = pkgs.hello;
-    machine = { config, pkgs, ... }: { /* services.sshd.enable = true; */ };
-  };
+runInMachine {
+  drv = pkgs.hello;
+  machine = { config, pkgs, ... }: { /* services.sshd.enable = true; */ };
 }