summary refs log tree commit diff
path: root/nixos/tests/all-tests.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-12-03 12:04:36 +0000
committerRobert Hensing <robert@roberthensing.nl>2022-01-10 12:26:59 +0100
commitbe3967e351b6e1b010e95ec16217ed2db33da0c5 (patch)
treeb91857857e9a49333102267e26a4ad068265b31f /nixos/tests/all-tests.nix
parentfbd038eca24703d8c5cc3ce28adda3e71c5fabf4 (diff)
downloadnixpkgs-be3967e351b6e1b010e95ec16217ed2db33da0c5.tar
nixpkgs-be3967e351b6e1b010e95ec16217ed2db33da0c5.tar.gz
nixpkgs-be3967e351b6e1b010e95ec16217ed2db33da0c5.tar.bz2
nixpkgs-be3967e351b6e1b010e95ec16217ed2db33da0c5.tar.lz
nixpkgs-be3967e351b6e1b010e95ec16217ed2db33da0c5.tar.xz
nixpkgs-be3967e351b6e1b010e95ec16217ed2db33da0c5.tar.zst
nixpkgs-be3967e351b6e1b010e95ec16217ed2db33da0c5.zip
nixos/nixpkgs.nix: Make independent
(cherry picked from commit 62e7f0eda1c5acf0beb13a00a23f577912a6b8eb)
Diffstat (limited to 'nixos/tests/all-tests.nix')
-rw-r--r--nixos/tests/all-tests.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 4f62980e8e9..d7971f6c2eb 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -19,6 +19,9 @@ let
   handleTestOn = systems: path: args:
     if elem system systems then handleTest path args
     else {};
+
+  nixosLib = import ../lib {};
+  evalMinimalConfig = module: nixosLib.evalModules { modules = [ module ]; };
 in
 {
   _3proxy = handleTest ./3proxy.nix {};
@@ -327,6 +330,7 @@ in
   nix-serve-ssh = handleTest ./nix-serve-ssh.nix {};
   nixops = handleTest ./nixops/default.nix {};
   nixos-generate-config = handleTest ./nixos-generate-config.nix {};
+  nixpkgs = pkgs.callPackage ../modules/misc/nixpkgs/test.nix { inherit evalMinimalConfig; };
   node-red = handleTest ./node-red.nix {};
   nomad = handleTest ./nomad.nix {};
   novacomd = handleTestOn ["x86_64-linux"] ./novacomd.nix {};