diff --git a/tests/default.nix b/tests/default.nix index da6d3e7..b9b516e 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -13,8 +13,6 @@ let (lib.attrNames (builtins.readDir ./.)) ); - allTests = lib.genAttrs allTestFilenames (test: import (./. + "/${test}.nix") { inherit diskoLib pkgs; }) // { - standalone = (pkgs.nixos [ ../example/stand-alone/configuration.nix ]).config.system.build.toplevel; - }; + allTests = lib.genAttrs allTestFilenames (test: import (./. + "/${test}.nix") { inherit diskoLib pkgs; }); in allTests diff --git a/tests/standalone.nix b/tests/standalone.nix new file mode 100644 index 0000000..3b6eb58 --- /dev/null +++ b/tests/standalone.nix @@ -0,0 +1,7 @@ +{ pkgs ? import { } +, diskoLib ? pkgs.callPackage ../lib { } +}: +(pkgs.nixos [ + ../example/stand-alone/configuration.nix + { documentation.enable = false; } +]).config.system.build.toplevel