Compare commits

..

2 commits

Author SHA1 Message Date
c6f82f2e0a
swap out the input types to hopefully trigger an evaluation error - unfortunately does not seem to work yet 2025-08-16 14:14:18 +02:00
e91061e69c
evaluate deployment a bit further
allowed fixing a few types, tho bad input types still work, and needs
commenting readOnly
2025-08-16 14:14:18 +02:00

View file

@ -182,10 +182,10 @@ in
}; };
deployment = { deployment = {
inherit (result) _type; inherit (result) _type;
isModule = lib.isFunction fediversity.deployments.example.deployment;
deploymentFunction = lib.isFunction result.deploymentFunction; deploymentFunction = lib.isFunction result.deploymentFunction;
getProviders = lib.isFunction result.getProviders; getProviders = lib.isFunction result.getProviders;
}; };
deploy = lib.isFunction fediversity.deployments.example.deployment;
}; };
expected = { expected = {
number-of-resources = 1; number-of-resources = 1;
@ -205,7 +205,6 @@ in
_type = "nixops4Deployment"; _type = "nixops4Deployment";
deploymentFunction = true; deploymentFunction = true;
getProviders = true; getProviders = true;
isModule = false;
}; };
}; };
}; };