chore(darwin): drop redundant broken-packages overlay

conda/mitmproxy/wireshark are already Linux-gated in the shared home modules, and verible is unreferenced, so replacing them with emptyDirectory is unnecessary.
This commit is contained in:
Ryan Yin committed 2026-09-28 10:55:22 +08:00
1 parent e8f8099011
commit 098ed110d7
3 files changed
-26

No files matched your search

-1
View File
@@ -14,7 +14,6 @@ in
qrtool # decode/encode qr code
]
# mitmproxy & wireshark don't build on darwin
# (removed there, see modules/darwin/broken-packages.nix)
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
mitmproxy # http/https proxy tool
wireshark # network analyzer
-1
View File
@@ -19,7 +19,6 @@ modules/
├── darwin/ # macOS-specific modules
│ ├── README.md
│ ├── apps.nix # macOS applications
│ ├── broken-packages.nix # Package compatibility fixes
│ ├── default.nix
│ ├── nix-core.nix # Core Nix configuration
│ ├── security.nix # macOS security settings
-24
View File
@@ -1,24 +0,0 @@
{ lib, ... }:
# ===================================================================
# Remove packages that are not well supported for the Darwin platform
# ===================================================================
let
brokenPackages = [
"conda"
"mitmproxy"
"wireshark"
"verible"
];
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
)
];
}