From 70e02090f7163729ff0002aa51cbf002d583233b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 14 Sep 2025 14:45:14 +0900 Subject: [PATCH] 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 --- options.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options.nix b/options.nix index 91ea7c4..383b554 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.