1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-30 13:49:47 +01: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
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 = {

View file

@ -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 = {