forked from fediversity/fediversity
[HACK] unwire deployment resource-mapping output-type, fixes error: Expected a module, but found a value of type "option-type"
This commit is contained in:
parent
171404366a
commit
86b5d4ea67
1 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ in
|
|||
};
|
||||
implementation = mkOption {
|
||||
description = "Mapping of resources required by applications to available resources; the result can be deployed";
|
||||
type = functionTo environment.config.resource-mapping.output-type;
|
||||
type = functionTo raw;
|
||||
};
|
||||
resource-mapping = mkOption {
|
||||
description = "Function type for the mapping from resources to a (NixOps4) deployment";
|
||||
|
|
@ -161,7 +161,7 @@ in
|
|||
};
|
||||
deployment = mkOption {
|
||||
description = "Generate a deployment from a configuration";
|
||||
type = functionTo (submodule environment.config.resource-mapping.output-type);
|
||||
type = functionTo raw;
|
||||
readOnly = true;
|
||||
default =
|
||||
cfg:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue