1: { callPackage, nothing }: 2: 3: with builtins; 4: x: 5: isFunction x || (isAttrs x && x ? __functor)