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 {
|
||||
type = anything;
|
||||
type = listOf (attrsOf anything);
|
||||
default = [ ];
|
||||
description = ''
|
||||
Extra paths to make available to the container.
|
||||
@@ -261,7 +261,7 @@ in
|
||||
};
|
||||
|
||||
commonPaths = mkOption {
|
||||
type = types.anything;
|
||||
type = types.listOf (types.attrsOf types.anything);
|
||||
default = [ ];
|
||||
description = ''
|
||||
Common extra paths to make available to the container.
|
||||
|
||||
Reference in New Issue
Block a user