diff --git a/lib/stdlib-extended.nix b/lib/stdlib-extended.nix index 9833248..943525b 100644 --- a/lib/stdlib-extended.nix +++ b/lib/stdlib-extended.nix @@ -68,6 +68,8 @@ in mkSetLuaBinding = binding: action: mkLuaBinding binding.value action binding.description; + defaultAttributes = attr: self.mapAttrs (name: value: self.mkDefault value) attr; + # For forward compatibility. literalExpression = super.literalExpression or super.literalExample; })