tests: use lib.hm.types instead of explicit import
This commit is contained in:
parent
57ede1369f
commit
1397570eea
2 changed files with 2 additions and 4 deletions
|
|
@ -5,7 +5,6 @@ with lib;
|
|||
let
|
||||
|
||||
dag = config.lib.dag;
|
||||
hmTypes = import ../../../modules/lib/types.nix { inherit dag lib; };
|
||||
|
||||
result =
|
||||
let
|
||||
|
|
@ -18,7 +17,7 @@ in
|
|||
|
||||
{
|
||||
options.tested.dag = mkOption {
|
||||
type = with types; hmTypes.dagOf str;
|
||||
type = hm.types.dagOf types.str;
|
||||
};
|
||||
|
||||
config = {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ with lib;
|
|||
let
|
||||
|
||||
dag = config.lib.dag;
|
||||
hmTypes = import ../../../modules/lib/types.nix { inherit dag lib; };
|
||||
|
||||
result =
|
||||
let
|
||||
|
|
@ -18,7 +17,7 @@ in
|
|||
|
||||
{
|
||||
options.tested.dag = mkOption {
|
||||
type = with types; hmTypes.listOrDagOf str;
|
||||
type = hm.types.listOrDagOf types.str;
|
||||
};
|
||||
|
||||
config = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue