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

with bionix;
with lib.types;

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