forked from security/hakurei
nix: use slightly less ambiguous type
I had trouble getting Nix to merge json arrays properly, I am not sure that this helps. At this point I have given up trying to understand Nix type system, and I am just trying to keep the Nix stuff going with extensive tests until it can be replaced by lkl for testing and planterette for general usage. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -203,7 +203,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
extraPaths = mkOption {
|
extraPaths = mkOption {
|
||||||
type = anything;
|
type = listOf (attrsOf anything);
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = ''
|
description = ''
|
||||||
Extra paths to make available to the container.
|
Extra paths to make available to the container.
|
||||||
@@ -261,7 +261,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
commonPaths = mkOption {
|
commonPaths = mkOption {
|
||||||
type = types.anything;
|
type = types.listOf (types.attrsOf types.anything);
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = ''
|
description = ''
|
||||||
Common extra paths to make available to the container.
|
Common extra paths to make available to the container.
|
||||||
|
|||||||
Reference in New Issue
Block a user