mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
add nixos tests for disko.config, extend/fix existing tests
This commit is contained in:
1 parent
a215a19759
commit
9f7f23abdb
22 files changed
+448
-110
No files matched your search
+2
-1
@@ -1,9 +1,10 @@
|
||||
{ makeTest ? import <nixpkgs/nixos/tests/make-test-python.nix>
|
||||
, eval-config ? import <nixpkgs/nixos/lib/eval-config.nix>
|
||||
, pkgs ? (import <nixpkgs> { })
|
||||
}@args:
|
||||
let
|
||||
lib = pkgs.lib;
|
||||
makeDiskoTest = (pkgs.callPackage ./lib.nix { inherit makeTest; }).makeDiskoTest;
|
||||
makeDiskoTest = (pkgs.callPackage ./lib.nix { inherit makeTest eval-config; }).makeDiskoTest;
|
||||
|
||||
evalTest = name: configFile: let
|
||||
disko-config = import configFile;
|
||||
|
||||
Reference in new issue
Block a user