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
91c5d16f06
commit
0b4aa2e084
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,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";
|
||||
|
@ -165,7 +165,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