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 let
shards = lib.attrNames (builtins.readDir root); shards = lib.attrNames (builtins.readDir root);
namesForShard = shard: lib.mapAttrs' namesForShard = shard: lib.mapAttrs'

View File

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

View File

@ -32,4 +32,4 @@ lib.makeScope newScope (self: lib.makeOverridable
jetbrainsWithPlugins = jetbrainsWithPlugins self variant; jetbrainsWithPlugins = jetbrainsWithPlugins self variant;
}) })
) )
{ }) { })