all: format

This commit is contained in:
xeals 2023-03-06 10:13:37 +11:00
parent 4586c00f4e
commit f0dc2d521d
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C
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'

View File

@ -20,7 +20,6 @@
# Unstable names are variables.
packages =
let
legacyPackages = import ./pkgs/top-level/all-packages.nix { inherit pkgs; };
onlyAvailable = lib.filterAttrs (_: drv: builtins.elem system (drv.meta.platforms or [ ]));
in