mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
feat: format via 'ls **/*.nix | each { |it| nixfmt $it.name }'
This commit is contained in:
@@ -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
|
||||
)
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user