diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-01-07 01:09:46 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-01-10 12:36:57 +0100 |
commit | d3f956aba324a18bfafde59138929b320a9b4a2b (patch) | |
tree | 2a49888b9a67caaccd3b43eab4e09834881072c3 /nixos/tests/all-tests.nix | |
parent | 25caf736d5c16fa0c026c26ff4e7b7779fcbb7ae (diff) | |
download | nixpkgs-d3f956aba324a18bfafde59138929b320a9b4a2b.tar nixpkgs-d3f956aba324a18bfafde59138929b320a9b4a2b.tar.gz nixpkgs-d3f956aba324a18bfafde59138929b320a9b4a2b.tar.bz2 nixpkgs-d3f956aba324a18bfafde59138929b320a9b4a2b.tar.lz nixpkgs-d3f956aba324a18bfafde59138929b320a9b4a2b.tar.xz nixpkgs-d3f956aba324a18bfafde59138929b320a9b4a2b.tar.zst nixpkgs-d3f956aba324a18bfafde59138929b320a9b4a2b.zip |
nixos/lib: Add featureFlags, use it for minimal modules
Diffstat (limited to 'nixos/tests/all-tests.nix')
-rw-r--r-- | nixos/tests/all-tests.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index d7971f6c2eb..0dee1a0e8b0 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -20,7 +20,11 @@ let if elem system systems then handleTest path args else {}; - nixosLib = import ../lib {}; + nixosLib = import ../lib { + # Experimental features need testing too, but there's no point in warning + # about it, so we enable the feature flag. + featureFlags.minimalModules = {}; + }; evalMinimalConfig = module: nixosLib.evalModules { modules = [ module ]; }; in { |