blob: 26129953a170d77468085875b00aac153ad3e94e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{
# trivial case
_ = lib.zipAttrsWith (name: values: values) [{ a = 1; } { a = 2; b = 3; }];
# offer lint heuristically on this too
_ = nixpkgs.lib.zipAttrsWith (name: values: values) [{ a = 1; } { a = 2; b = 3; }];
# do not lint on `builtins`
_ = builtins.zipAttrsWith (name: values: values) [
{ a = 1; }
{ a = 2; b = 3; }
];
}
|