diff --git a/pkgs/lazyUtils.nix b/pkgs/lazyUtils.nix index 3d074ef..53bb823 100644 --- a/pkgs/lazyUtils.nix +++ b/pkgs/lazyUtils.nix @@ -60,6 +60,10 @@ let cmdIsFunction ? false, opts ? null, }: + assert builtins.isString bind; + assert builtins.isNull cmd || builtins.isString cmd; + assert builtins.isBool cmdIsFunction; + assert builtins.isNull opts || builtins.isAttrs opts; lib.filter (option: !builtins.isNull option) [ bind (if (cmdIsFunction == true) && (builtins.isString cmd) then (_: cmd) else cmd)