diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-09-14 14:45:14 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-09-14 14:45:14 +0900 |
| commit | 70e02090f7163729ff0002aa51cbf002d583233b (patch) | |
| tree | 4a35775b7acd813dcc06ad33e20a6af812da5d99 /options.nix | |
| parent | ca247b80378b7248ed4d1eda8a97e2a1d659ec7b (diff) | |
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>
Diffstat (limited to 'options.nix')
| -rw-r--r-- | options.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options.nix b/options.nix index 91ea7c49..383b554d 100644 --- a/options.nix +++ b/options.nix @@ -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. |
