From f0dc2d521d19d3a76d8e47c1c0366289112a3463 Mon Sep 17 00:00:00 2001 From: xeals Date: Mon, 6 Mar 2023 10:13:37 +1100 Subject: [PATCH] all: format --- callUnitRoot.nix | 7 ++++++- flake.nix | 1 - pkgs/top-level/jetbrains-plugins.nix | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/callUnitRoot.nix b/callUnitRoot.nix index 5490d15..64f945b 100644 --- a/callUnitRoot.nix +++ b/callUnitRoot.nix @@ -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' diff --git a/flake.nix b/flake.nix index 71090fc..001e3ef 100644 --- a/flake.nix +++ b/flake.nix @@ -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 diff --git a/pkgs/top-level/jetbrains-plugins.nix b/pkgs/top-level/jetbrains-plugins.nix index 75d26bf..d6cf20a 100644 --- a/pkgs/top-level/jetbrains-plugins.nix +++ b/pkgs/top-level/jetbrains-plugins.nix @@ -32,4 +32,4 @@ lib.makeScope newScope (self: lib.makeOverridable jetbrainsWithPlugins = jetbrainsWithPlugins self variant; }) ) - { }) +{ })