mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
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:
1 parent
e8f8099011
commit
098ed110d7
3 files changed
-26
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
)
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user