1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 09:58:32 +02:00

tests: use lib.hm.types instead of explicit import

This commit is contained in:
Robert Helgesson 2020-01-26 11:28:34 +01:00
parent 57ede1369f
commit 1397570eea
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
2 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,6 @@ with lib;
let let
dag = config.lib.dag; dag = config.lib.dag;
hmTypes = import ../../../modules/lib/types.nix { inherit dag lib; };
result = result =
let let
@ -18,7 +17,7 @@ in
{ {
options.tested.dag = mkOption { options.tested.dag = mkOption {
type = with types; hmTypes.dagOf str; type = hm.types.dagOf types.str;
}; };
config = { config = {

View File

@ -5,7 +5,6 @@ with lib;
let let
dag = config.lib.dag; dag = config.lib.dag;
hmTypes = import ../../../modules/lib/types.nix { inherit dag lib; };
result = result =
let let
@ -18,7 +17,7 @@ in
{ {
options.tested.dag = mkOption { options.tested.dag = mkOption {
type = with types; hmTypes.listOrDagOf str; type = hm.types.listOrDagOf types.str;
}; };
config = { config = {