summaryrefslogtreecommitdiff
path: root/nix/tests/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/tests/default.nix')
-rw-r--r--nix/tests/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/nix/tests/default.nix b/nix/tests/default.nix
new file mode 100644
index 000000000..6abab82ce
--- /dev/null
+++ b/nix/tests/default.nix
@@ -0,0 +1,14 @@
+{nixpkgs}: let
+ # mkTest does nothing special right now, its just a wrapper around
+ # runNixOSTest, but it could be extended in the future so I pulled it out.
+ mkTest = path:
+ nixpkgs.testers.runNixOSTest {
+ imports = [
+ path
+ ];
+ };
+in {
+ basic = mkTest ./basic.nix;
+ gnome = mkTest ./gnome.nix;
+ i3 = mkTest ./i3.nix;
+}