diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/lib/types.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/lib/types.nix b/pkgs/lib/types.nix index c806e922e3577..d71cb9df097c5 100644 --- a/pkgs/lib/types.nix +++ b/pkgs/lib/types.nix @@ -135,7 +135,7 @@ rec { name = "option set"; # merge is done in "options.nix > addOptionMakeUp > handleOptionSets" merge = lib.id; - check = x: lib.traceValIfNot builtins.isAttrs x; + check = x: isAttrs x || builtins.isFunction x; hasOptions = true; delayOnGlobalEval = true; }; |