aboutsummaryrefslogtreecommitdiff
path: root/lib/shard.nix
blob: 95cf2516ed1ee237eab73256073e28ecc701dd56 (plain)
1
2
3
4
5
6
7
8
9
{bionix}:

with bionix;
with lib.types;

{
  regex = n: input: outputDrvs (callBionixE ./shard-regex.nix { n = n; } input);
  fastQPair = n: {input1, input2}: lib.zipListsWith (i: j: {input1 = i; input2 = j;}) (lib.shard.regex n input1) (lib.shard.regex n input2);
}