all: format

This commit is contained in:
2023-03-06 10:13:37 +11:00
parent 4586c00f4e
commit f0dc2d521d
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,9 @@
{ pkgs, lib ? pkgs.lib, unitDir ? "unit", packageFun ? "package.nix", root ? "${./pkgs}/${unitDir}" }:
{ pkgs
, lib ? pkgs.lib
, unitDir ? "unit"
, packageFun ? "package.nix"
, root ? "${./pkgs}/${unitDir}"
}:
let
shards = lib.attrNames (builtins.readDir root);
namesForShard = shard: lib.mapAttrs'