mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
move standalone test to separate file
This commit is contained in:
1 parent
e4af31d97b
commit
0725574ad8
2 files changed
+8
-3
No files matched your search
+1
-3
@@ -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
|
||||
@@ -0,0 +1,7 @@
|
||||
{ pkgs ? import <nixpkgs> { }
|
||||
, diskoLib ? pkgs.callPackage ../lib { }
|
||||
}:
|
||||
(pkgs.nixos [
|
||||
../example/stand-alone/configuration.nix
|
||||
{ documentation.enable = false; }
|
||||
]).config.system.build.toplevel
|
||||
Reference in new issue
Block a user