From c272bfd81206a2888920258ea6620fd7f5ed4f7c Mon Sep 17 00:00:00 2001 From: technofab Date: Sat, 23 Mar 2024 21:09:05 +0100 Subject: [PATCH] fix: allow rules to contain attrs --- flakeModule.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flakeModule.nix b/flakeModule.nix index 8f2330e..f359ec7 100644 --- a/flakeModule.nix +++ b/flakeModule.nix @@ -74,7 +74,7 @@ id_tokens = mkNullOption (types.attrs); "inherit" = mkNullOption (types.attrs); interruptible = mkNullOption (types.bool); - needs = mkNullOption (types.listOf types.str); + needs = mkNullOption (types.listOf (types.either types.str types.attrs)); publish = mkNullOption (types.str); pages = mkNullOption (types.attrs); parallel = mkNullOption (types.either types.int types.attrs);