feat: format via 'ls **/*.nix | each { |it| nixfmt $it.name }'

This commit is contained in:
Ryan Yin
2025-07-30 12:17:24 +08:00
parent d10b30b06b
commit 13bb77108c
219 changed files with 2103 additions and 1728 deletions

View File

@@ -1,4 +1,4 @@
{lib, ...}:
{ lib, ... }:
# ===================================================================
# Remove packages that are not well supported for the Darwin platform
# ===================================================================
@@ -19,15 +19,16 @@ let
"ncdu"
"racket-minimal"
];
in {
in
{
nixpkgs.overlays = [
(_: super: let
removeUnwantedPackages = pname:
lib.warn "the ${pname} has been removed on the darwin platform"
super.emptyDirectory;
in
lib.genAttrs
brokenPackages
removeUnwantedPackages)
(
_: super:
let
removeUnwantedPackages =
pname: lib.warn "the ${pname} has been removed on the darwin platform" super.emptyDirectory;
in
lib.genAttrs brokenPackages removeUnwantedPackages
)
];
}